pymel.core.nodetypes.Locator — PyMEL 1.0.7 documentation

pymel.core.nodetypes.Locator

Inheritance diagram of Locator

class Locator(*args, **kwargs)

class counterpart of mel function spaceLocator

The command creates a locator at the specified position in space. By default it is created at (0,0,0).

MObjectColorType = Enum( EnumValue('MObjectColorType', 0, 'defaultColor'), EnumValue('MObjectColorType', 1, 'indexColor'), EnumValue('MObjectColorType', 2, 'RGBColor'))
absolute(val=True, **kwargs)

If set, the locator’s position is in world space. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.spaceLocator

getPosition(**kwargs)

Location in 3-dimensional space where locator is to be created.

Derived from mel command maya.cmds.spaceLocator

relative(val=True, **kwargs)

If set, the locator’s position is relative to its local space. The locator is created in relative mode by default.

Derived from mel command maya.cmds.spaceLocator

setPosition(val=True, **kwargs)

Location in 3-dimensional space where locator is to be created.

Derived from mel command maya.cmds.spaceLocator

Previous topic

pymel.core.nodetypes.LineModifier

Next topic

pymel.core.nodetypes.LodGroup

Core Modules

Type Modules

Other Modules

This Page