pymel.core.nodetypes.ScaleConstraint

Inheritance diagram of ScaleConstraint

class ScaleConstraint(*args, **kwargs)

class counterpart of mel function scaleConstraint

Constrain an object’s scale to the scale of the target object or to the average scale of a number of targets. A scaleConstraint takes as input one or more “target” DAG transform nodes to which to scale the single “constraint object” DAG transform node. The scaleConstraint scales the constrained object at the weighted geometric mean of the world space target scale factors.

getName(**kwargs)

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

Derived from mel command maya.cmds.scaleConstraint

getOffset(**kwargs)

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

Derived from mel command maya.cmds.scaleConstraint

getTargetList(**kwargs)

Return the list of target objects.

Derived from mel command maya.cmds.scaleConstraint

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

layer(val=True, **kwargs)

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

Derived from mel command maya.cmds.scaleConstraint

remove(val=True, **kwargs)

removes the listed target(s) from the constraint.

Derived from mel command maya.cmds.scaleConstraint

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

setOffset(val=True, **kwargs)

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

Derived from mel command maya.cmds.scaleConstraint

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

Previous topic

pymel.core.nodetypes.SamplerInfo

Next topic

pymel.core.nodetypes.Script

Core

Core Modules

Other Modules

This Page