pymel.core.nodetypes.PointOnPolyConstraint

digraph inheritance31c44786cc { rankdir=TB; ranksep=0.15; nodesep=0.15; size="8.0, 12.0"; "Constraint" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.Constraint.html#pymel.core.nodetypes.Constraint",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "Transform" -> "Constraint" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ContainerBase" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.ContainerBase.html#pymel.core.nodetypes.ContainerBase",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "DependNode" -> "ContainerBase" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DagNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.DagNode.html#pymel.core.nodetypes.DagNode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "Entity" -> "DagNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DependNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.DependNode.html#pymel.core.nodetypes.DependNode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" -> "DependNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Entity" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.Entity.html#pymel.core.nodetypes.Entity",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "ContainerBase" -> "Entity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PointOnPolyConstraint" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="#pymel.core.nodetypes.PointOnPolyConstraint",style="setlinewidth(0.5)",tooltip="class counterpart of mel function `pointOnPolyConstraint`",height=0.25,shape=box,fontsize=8]; "Constraint" -> "PointOnPolyConstraint" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ProxyUnicode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.util.utilitytypes/pymel.util.utilitytypes.ProxyUnicode.html#pymel.util.utilitytypes.ProxyUnicode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.core.general/pymel.core.general.PyNode.html#pymel.core.general.PyNode",style="setlinewidth(0.5)",tooltip="Abstract class that is base for all pymel nodes classes.",height=0.25,shape=box,fontsize=8]; "ProxyUnicode" -> "PyNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Transform" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.Transform.html#pymel.core.nodetypes.Transform",style="setlinewidth(0.5)",tooltip="class counterpart of mel function `xform`",height=0.25,shape=box,fontsize=8]; "DagNode" -> "Transform" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

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 targetDAG transform nodes at which to position the single constraint objectDAG transform node. The pointOnPolyConstraint positions the constrained object at the weighted average of the world space position target objects.

LimitType = Enum( EnumValue('LimitType', 0, 'scaleMinX'), EnumValue('LimitType', 1, 'scaleMaxX'), EnumValue('LimitType', 2, 'scaleMinY'), EnumValue('LimitType', 3, 'scaleMaxY'), EnumValue('LimitType', 4, 'scaleMinZ'), EnumValue('LimitType', 5, 'scaleMaxZ'), EnumValue('LimitType', 6, 'shearMinXY'), EnumValue('LimitType', 7, 'shearMaxXY'), EnumValue('LimitType', 8, 'shearMinXZ'), EnumValue('LimitType', 9, 'shearMaxXZ'), EnumValue('LimitType', 10, 'shearMinYZ'), EnumValue('LimitType', 11, 'shearMaxYZ'), EnumValue('LimitType', 12, 'rotateMinX'), EnumValue('LimitType', 13, 'rotateMaxX'), EnumValue('LimitType', 14, 'rotateMinY'), EnumValue('LimitType', 15, 'rotateMaxY'), EnumValue('LimitType', 16, 'rotateMinZ'), EnumValue('LimitType', 17, 'rotateMaxZ'), EnumValue('LimitType', 18, 'translateMinX'), EnumValue('LimitType', 19, 'translateMaxX'), EnumValue('LimitType', 20, 'translateMinY'), EnumValue('LimitType', 21, 'translateMaxY'), EnumValue('LimitType', 22, 'translateMinZ'), EnumValue('LimitType', 23, 'translateMaxZ'))
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 Flag can have multiple arguments, passed either as a tuple or a list.

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

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, zand none. During creation, noneis the default. This flag is multi-use.

Derived from mel command maya.cmds.pointOnPolyConstraint