pymel.core.general.xformConstraint — PyMEL 1.0.7 documentation

pymel.core.general.xformConstraint

xformConstraint(*args, **kwargs)

This command allows you to change the transform constraint used by the transform tools during component transforms. In query mode, return type is based on queried flag.

Flags:

Long Name / Short Name Argument Types Properties
live / l bool ../../../_images/query.gif
 

Query-only flag that can be used to check whether the current live surface will be used as a transform constraint. Flag can have multiple arguments, passed either as a tuple or a list.

type / t unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 

Set the type of transform constraint to use. When queried, returns the current transform constraint as a string. none - no constraintsurface - constrain components to their surfaceedge - constrain components to surface edges

Derived from mel command maya.cmds.xformConstraint

Previous topic

pymel.core.general.xform

Next topic

pymel.core.general.Attribute

Core Modules

Type Modules

Other Modules

This Page