UnitsGetUnits Method (UnitType, UnitSystem) |
Gets all the units corresponding to a specified unit type and system.
Namespace:
Demo3D.Utilities
Assembly:
Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntaxpublic static IList<UnitDescriptor> GetUnits(
UnitType unitType,
UnitSystem unitSystem
)
Parameters
- unitType
- Type: Demo3D.UtilitiesUnitType
The UnitType to retrieve units for. - unitSystem
- Type: Demo3D.UtilitiesUnitSystem
The UnitSystem to retrieve units for.
Return Value
Type:
IListUnitDescriptorA list of UnitDescriptor instances representing the units corresponding to the specified unit type and system.
See Also