PartModelingDensityUnitType Enumeration — NXOpen Python API Reference 12.0.0 documentation

# PartModelingDensityUnitType Enumeration

NXOpen.Preferences.PartModeling.DensityUnitType is an alias for NXOpen.Preferences.PartModelingDensityUnitType

class `NXOpen.Preferences.``PartModelingDensityUnitType`

  Bases: `object`

  Describes the units available for representing density

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  LbPerCuInch | Unit is pound per cubic inch
  LbPerCuFeet | Unit is pound per cubic feet
  GmPerCuCm | Unit is gram per cubic centimeter
  KgPerCuMeter | Unit is kg per cubic meter

  `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.