Class UnitTypeExtensions
- Namespace
- RvtIO.BuiltIns
- Assembly
- RvtIO.dll
Lookups between RvtIO.BuiltIns.UnitType, catalog strings, groups and parameter types.
public static class UnitTypeExtensionsInheritance
Inherited Members
Methods
TryGetCatalogString(UnitType, out string)
Gets the catalog string of unitType.
public static bool TryGetCatalogString(this UnitType unitType, out string catalogString)Parameters
Returns
TryGetGroup(UnitType, out UnitGroup)
Gets the group of unitType.
public static bool TryGetGroup(this UnitType unitType, out UnitGroup group)Parameters
Returns
TryGetParameterType(UnitType, out ParameterType)
Gets the parameter type that stores values of unitType.
public static bool TryGetParameterType(this UnitType unitType, out ParameterType parameterType)Parameters
unitTypeUnitTypeparameterTypeParameterType
Returns
TryGetUnitTypeFromCatalogString(string, out UnitType)
Finds the first unit type whose catalog string equals catalogString, ignoring case; otherwise RvtIO.BuiltIns.UnitType.UT_Undefined.
public static bool TryGetUnitTypeFromCatalogString(this string catalogString, out UnitType unitType)