Share

Unit Nodes

See Details for more information on the following nodes.

Node Name Notes
Quantity.ByTypeID Creates a Quantity object from its Forge type schema identifier string.
Quantity.Name Gets the Name of a Quantity.
Quantity.TypeID Gets the Forge type schema identifier for a Quantity.
Quantity.Units Gets all available Units associated with a Quantity.
Unit.ByTypeID Creates a Unit object from its Forge type schema identifier string.
Unit.AreUnitsConvertible Determine whether two Unit objects are convertible.
Unit.ConvertibleUnits Gets all Units which are convertible from a Unit.
Unit.Name Gets the Name of a Unit.
Unit.TypeID Gets the Forge type schema identifier for a Unit.
Unit.QuantitiesContainingUnit Property, array of Quantities that contain this Unit (e.g., feet => Length).
Symbol.ByTypeID Creates a Symbol object from its Forge type schema identifier string.
Symbol.Text Gets the string representation of a Symbol.
Symbol.TypeID Gets the Forge type schema identifier for a Symbol.
Symbol.Unit Gets the corresponding Unit of a Symbol.
Symbol.SymbolsByUnit Gets all available Symbols associated with a Unit.
Symbol.StringifyDecimal Returns the formatted unit expression for a given value and symbol in a decimal format.
Symbol.StringifyFraction Returns the formatted expression for a given value and symbol in a fraction format.
Quantities Select a Quantity type.
Units Select a Unit type.
Symbols Select a Symbol type.
Convert By Units Convert a value between selected Unit systems.
Utilities.ConvertByUnits Converts a value from one Unit System to another Unit System.
Parse Unit Input Converts input string with unit values into the equivalent value of the expression.
Utilities.ParseExpression Parses a string containing math functions to a unit value. For example, "(1 + 3)^2 - 4 * 2" could be converted to 8
Utilities.ParseExpressionByUnit Parses a string containing values with units and math functions to a unit value. For example, "1ft + 2.54cm + 3in" could be converted to 14in

Was this information helpful?