DynamoVisualProgramming.ZeroTouchLibrary by Autodesk

<PackageReference Include="DynamoVisualProgramming.ZeroTouchLibrary" Version="3.0.0-beta6050" />

 Unit

public class Unit
An object representing a standard system for measuring a quantity.

Gets all Units which are convertible from a Unit.

public string Name { get; }

Gets the Name of for a Unit

Gets all Quantity objects which contain a Unit.

public string TypeId { get; }

Gets the Forge type schema identifier for a Unit

public static bool AreUnitsConvertible(Unit fromUnit, Unit toUnit)

Determine whether two Unit objects are convertible

public static Unit ByTypeID(string typeId)

Creates a Unit object from its Forge type schema identifier string.

public static bool op_Equality(Unit lhs, Unit rhs)

public static bool op_Inequality(Unit lhs, Unit rhs)