pymel.core.datatypes.Unit

Inheritance diagram of Unit

class Unit
asInternalUnit()
asUIUnit()
asUnit(unit)
assign(*args)
data
classmethod getInternalUnit()

Returns the inernal units currently in use for that type

classmethod getUIUnit()

Returns the global UI units currently in use for that type

getUnit()

Returns the units currently in effect for this instance

classmethod kUnit(unit=None)

Converts a string unit name to the internal int unit enum representation

classmethod sUnit(unit=None)

Converts an internal int unit enum representation tp the string unit name

classmethod setUIUnit(unit=None)

Sets the global UI units currently to use for that type

classmethod uiToInternal(value)
unit

The units currently in effect for this instance

value

Previous topic

pymel.core.datatypes.TransformationMatrix

Next topic

pymel.core.datatypes.Vector

Core

Core Modules

Other Modules

This Page