Skip to content

Text Location

Class full path: NemAll_Python_BasisElements.TextLocation

Bases: IntEnum

Location of the dimension text

Attributes

eBASIS_DIM_BOTTOM_CENTER = -2 class-attribute instance-attribute

eBASIS_DIM_BOTTOM_LEFT = -1 class-attribute instance-attribute

eBASIS_DIM_BOTTOM_RIGHT = -3 class-attribute instance-attribute

eBASIS_DIM_CENTER = 0 class-attribute instance-attribute

eBASIS_DIM_CENTER_LEFT = -4 class-attribute instance-attribute

eBASIS_DIM_CENTER_RIGHT = -5 class-attribute instance-attribute

eBASIS_DIM_NONE = 10 class-attribute instance-attribute

eBASIS_DIM_TOP_CENTER = 2 class-attribute instance-attribute

eBASIS_DIM_TOP_LEFT = 1 class-attribute instance-attribute

eBASIS_DIM_TOP_RIGHT = 3 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
TextLocation

value for the key