pymel.core.nodetypes.PointOnPolyConstraint

Inheritance diagram of PointOnPolyConstraint

class PointOnPolyConstraint(*args, **kwargs)

class counterpart of mel function pointOnPolyConstraint

Constrain an object’s position to the position of the target object or to the average position of a number of targets. A pointOnPolyConstraint takes as input one or more “target” DAG transform nodes at which to position the single “constraint object” DAG transform node. The pointOnPolyConstraint 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.pointOnPolyConstraint

getOffset(**kwargs)

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

Derived from mel command maya.cmds.pointOnPolyConstraint

getTargetList(**kwargs)

Return the list of target objects.

Derived from mel command maya.cmds.pointOnPolyConstraint

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.pointOnPolyConstraint

layer(val=True, **kwargs)

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

Derived from mel command maya.cmds.pointOnPolyConstraint

remove(val=True, **kwargs)

removes the listed target(s) from the constraint.

Derived from mel command maya.cmds.pointOnPolyConstraint

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.pointOnPolyConstraint

setOffset(val=True, **kwargs)

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

Derived from mel command maya.cmds.pointOnPolyConstraint

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.pointOnPolyConstraint

Previous topic

pymel.core.nodetypes.PointOnCurveInfo

Next topic

pymel.core.nodetypes.PointOnSurfaceInfo

Core

Core Modules

Other Modules

This Page