pymel.core.datatypes.Unit

digraph inheritanceff40e43a06 {
rankdir=TB;
ranksep=0.15;
nodesep=0.15;
size="8.0, 12.0";
  "Unit" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="#pymel.core.datatypes.Unit",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
}

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