pymel.core.nodetypes.PointConstraint

Inheritance diagram of PointConstraint

class PointConstraint(*args, **kwargs)

class counterpart of mel function pointConstraint

Constrain an object’s position to the position of the target object or to the average position of a number of targets. A pointConstraint takes as input one or more “target” DAG transform nodes at which to position the single “constraint object” DAG transform node. The pointConstraint positions the constrained object at the weighted average of the world space position target objects.

getName(**kwargs)

Sets the name of the constraint node to the specified name. Default name is constrainedObjectName_constraintType

Derived from mel command maya.cmds.pointConstraint

getOffset(**kwargs)

Sets or queries the value of the offset. Default is 0,0,0.

Derived from mel command maya.cmds.pointConstraint

getTargetList(**kwargs)

Return the list of target objects.

Derived from mel command maya.cmds.pointConstraint

getWeightAliasList(**kwargs)

Returns the names of the attributes that control the weight of the target objects. Aliases are returned in the same order as the targets are returned by the targetList flag

Derived from mel command maya.cmds.pointConstraint

layer(val=True, **kwargs)

Specify the name of the animation layer where the constraint should be added.

Derived from mel command maya.cmds.pointConstraint

remove(val=True, **kwargs)

removes the listed target(s) from the constraint.

Derived from mel command maya.cmds.pointConstraint

setName(val=True, **kwargs)

Sets the name of the constraint node to the specified name. Default name is constrainedObjectName_constraintType

Derived from mel command maya.cmds.pointConstraint

setOffset(val=True, **kwargs)

Sets or queries the value of the offset. Default is 0,0,0.

Derived from mel command maya.cmds.pointConstraint

skip(val=True, **kwargs)

Specify the axis to be skipped. Valid values are “x”, “y”, “z” and “none”. During creation, “none” is the default. This flag is multi-use.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.pointConstraint

Previous topic

pymel.core.nodetypes.PlusMinusAverage

Next topic

pymel.core.nodetypes.PointEmitter

Core

Core Modules

Other Modules

This Page