scaleConstraint is undoable, queryable, and editable.
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.
| Long name (short name) |
[argument types] |
Properties |
-name(-n)
|
string
|
 
|
|
Sets the name of the constraint node to the specified
name. Default name is constrainedObjectName_constraintType
In query mode, this flag needs a value.
|
|
-weight(-w)
|
float
|
 
|
|
Sets the weight value for the specified target(s).
If not given at creation time, the default value of 1.0 is used.
In query mode, this flag needs a value.
|
|
-remove(-rm)
|
|
|
|
removes the listed target(s) from the constraint.
|
|
-targetList(-tl)
|
|
|
|
Return the list of target objects.
In query mode, this flag needs a value.
|
|
-weightAliasList(-wal)
|
|
|
|
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
In query mode, this flag needs a value.
|
|
-offset(-o)
|
float float float
|
 
|
|
Sets or queries the value of the offset. Default is 1,1,1.
In query mode, this flag needs a value.
|
|
-maintainOffset(-mo)
|
|
|
|
The offset necessary to preserve the constrained
object's initial scale will be calculated and used as the
offset.
|
|
-skip(-sk)
|
string
|

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