Go to: Synopsis. Return value. MEL examples.

Synopsis

dynamicConstraintMemberShip( string $mode )

This command is useful for editing and displaying constraint membership. It works off of the current selection. If a constraint node is not selected it tries to guess at the desired one based on the selected components. If the constraint to edit is ambiguous from the selection, then one will need to include the constraint node in the selection. The mode determines how the selection is to affect the constraint membership. It is equivalent to invoking the matching items on the nConstraint menu.

Return value

None

Arguments

Variable Name Variable Type Description
$modestringMust be one of: "select", "replace", "add", "remove"

MEL examples

  dynamicConstraintMembership "select";