Skip to content

Length Units

Class full path: NemAll_Python_AllplanSettings.LengthUnits

Bases: IntEnum

Length units

Attributes

eCentimeters = 1 class-attribute instance-attribute

eDecimeters = 2 class-attribute instance-attribute

eFeets = 8 class-attribute instance-attribute

eFeetsAndInchesDecimal = 9 class-attribute instance-attribute

eFeetsAndInchesExact = 11 class-attribute instance-attribute

eFeetsAndInchesFractional = 10 class-attribute instance-attribute

eInchesDecimal = 5 class-attribute instance-attribute

eInchesExact = 7 class-attribute instance-attribute

eInchesFractional = 6 class-attribute instance-attribute

eKilometers = 4 class-attribute instance-attribute

eMeters = 3 class-attribute instance-attribute

eMillimeters = 0 class-attribute instance-attribute

Functions

__getitem__(key)

get the item for a key

Parameters:

Name Type Description Default
key str | int | float

value key

required

Returns:

Type Description
LengthUnits

value for the key