UnitCollectionUnitDefaults Enumeration¶
NXOpen.UnitCollection.UnitDefaults is an alias for NXOpen.UnitCollectionUnitDefaults
-
class
NXOpen.
UnitCollectionUnitDefaults
¶ Bases:
object
Specifies a set of units to be used as defaults for data entry or object information For each measure, a unit type will be selected that matches the specified choice.
The choice affects these dimensions: Lenth Mass Force Angle Temperature Delta Temperature
These dimensions are not affected: Electric Charge (A-sec) Luminous Intensity (cd) Amount of Substance (mol)
NOTE: Only the SI unit set is an internally consistent set of units. For example, the unit for Force (N) is used in all the metric sets, but since it’s defined as kg*m/s^2, it’s compatible only with kg and m, which are used in the SI set. Similarly, the unit deg is used for all the sets except the SI set.
Enum Members
Enum Member Enum Member Description LbmInLbfDegF Usual choice for inch parts. LbmFtLbfDegF Not supported for data entry units GMmNDegC Not supported for data entry units GCmNDegC Not supported for data entry units KgMNRadK SI compatibility KgMmNDegC Usual choice for mm parts -
ValueOf
()¶ Returns enum member equivalent to the value passed. Useful for bit operations of enum members.
Signature
ValueOf(value)
Parameters: value – Any integer value or bit operation result of enum members:type value: int:returns: Enum member equivalent to the value passed. Return type: Enum Member type. New in version NX9.0.1.
License requirements: None.
-