Shelf
stacks_image_78F89626-66C3-4E8B-B27C-3DACF0C5374E
Build An ExoSwitch Constraint System

This provides a UI for building a constraint system where a user can declare the translation and rotation drivers as well as add any driven nodes to the system.

stacks_image_00D2C3D4-17AA-4840-B488-3600DBDF44E4
Build Mask Configurations

This provides a UI for managing mask configurations associated with a particular constraint system. You can create, edit, copy and remove masks from this UI.

stacks_image_7BF63512-3358-4402-A6F6-3AB96C076D29
Add Nodes To An ExoSwitch Constraint

To add nodes via the shelf button select the nodes you want to add then select the ExoSwitch Constraint.

Example Command Code:
string $nodesToAdd[] = `ls -sl`; exoSwitchConstraint -e -adn $nodesToAdd exoSwitchConstraint1;
stacks_image_F2B01EA4-479B-42DE-9882-7ECA797A7544
Removes Nodes From An ExoSwitch Constraint

To remove nodes via the shelf button select the nodes you want to remove and then select the ExoSwitch Constraint.
When the nodes are removed they will retain the transformation values they have at the current frame. All animation is removed from the node (see the shelf button below for the -preserveAnimation flag to retain animation data).

Example Command Code:
string $nodesToRemove[] = `ls -sl`; exoSwitchConstraint -e -rm $nodesToRemove exoSwitchConstraint1;
stacks_image_490B0F98-2DD9-41A3-89FD-2AC3F4542D82
Removes Nodes From An ExoSwitch Constraint - Preserve Animation


To remove nodes via the shelf button select the nodes you want to remove and then select the ExoSwitch Constraint.
When the nodes are removed they will inherit the transformation values that are from any animation curves attached to the node. This is using the -preserveAnimation (-pa) flag which retains any animation data in the constraint system when detaching.

Example Command Code:
string $nodesToRemove[] = `ls -sl`; exoSwitchConstraint -e -rm $nodesToRemove -pa 1 exoSwitchConstraint1;
stacks_image_77B36C95-7094-451D-AED1-3B6D67FA4E56
Disable Nodes Connected To An ExoSwitch Constraint

To disable nodes via the shelf button select the nodes you want to disable then select the ExoSwitch Constraint.

Example Command Code:
string $nodesToDisable[] = `ls -sl`; exoSwitchConstraint -e -dsn 1 $nodesToDisable exoSwitchConstraint1;
stacks_image_9C2657AB-0A3A-4FDF-BD34-5BA1BFB6CBC8
Enable Nodes Connected To An ExoSwitch Constraint

To enable nodes via the shelf button select the nodes you want to enable then select the ExoSwitch Constraint. To find out which nodes are disabled you can query the constraint for that information via the -disableNodes flag.

Example Command Code:
string $nodesToEnable[] = `ls -sl`; exoSwitchConstraint -e -dsn 0 $nodesToEnable exoSwitchConstraint1;
stacks_image_8DA14C02-DDFE-45F5-87F9-00A240768C7E
Set A New Driver On An ExoSwitch Constraint

To make an object the translation and rotation drivers of a particular ExoSwitch Constraint via the shelf button, select the object you want to be the drivers then select the ExoSwitch Constraint.

Example Command Code:
string $newDriver[] = `ls -sl`; exoSwitchConstraint -e -td $newDriver[0] -rd $newDriver[0] exoSwitchConstraint1;
stacks_image_F5DC7FD6-D20C-40A8-A494-13BCA206D8D2
Turn Auto Driver Select ON

If the user wants to see what the current translation and rotation drivers are during playback turn this option on. As Maya plays the current drivers will be selected - any change in drivers over time will be reflected in a change in selection. To enable this feature select the constraint you want this enabled on or a node connected to it.

Example Command Code:
exoSwitchConstraint -e -ads 1 exoSwitchConstraint1;
stacks_image_591F4C3B-18C4-48A4-8A18-973D4AD9E926
Turn Auto Driver Select OFF

To disable the selection of drivers during playback via the shelf button select the ExoSwitch Constraint or a node connected to it.

Example Command Code:
exoSwitchConstraint -e -ads 0 exoSwitchConstraint1;
stacks_image_3A74062E-D4A5-475E-ACAB-4400AA4239D7
Turn Auto Key Driver Switch ON

Turns on the automatic keyframing of any switch of translation and/or rotation drivers for a constraint system.

Example Command Code:
exoSwitchConstraint -e -ads 0 exoSwitchConstraint1;
stacks_image_304CBEFF-B588-4B31-B3A5-70187991DDAA
Turn Auto Key Driver Switch OFF

Turns off the automatic keyframing of any switch of translation and/or rotation drivers for a constraint system.

Example Command Code:
exoSwitchConstraint -e -ads 0 exoSwitchConstraint1;
stacks_image_BBDB0782-0FF7-4ADA-96FE-0EF61CBE2FFD
Turn Auto Switch ON

Turn on the ability to change the translation and rotation driver on an ExoSwitch Constraint system by selection. To do this via the shelf button select the ExoSwitch Constraint or a node connected to the one you want to enable this option on.

Example Command Code:
exoSwitchConstraint -e -as 1 exoSwitchConstraint1;
stacks_image_2E33B357-0261-49CE-9CF0-56D1D18C5C49
Turn Auto Switch OFF

Disable the ability for the selection to drive the current translation and rotation masters on a particular ExoSwitch Constraint. To do this via the shelf button select the ExoSwitch Constraint or a node connected to the one you want to disable this option on.

Example Command Code:
exoSwitchConstraint -e -as 0 exoSwitchConstraint1;
stacks_image_C771138A-45E4-4020-82FF-750C2A9A0EC8
Query Mask Configuration Data

This is a multi-flag button with the following mask configuration flags:

  • -currentMaskName (-cna)

  • -currentMaskNumber (-cnu)

  • -maskConfigNames (-mns)

  • -maskConfigNumbers (-mnu)

stacks_image_B6A5AC6E-C7EC-4654-B548-B097DAB3AEB8
Query The Drivers Of An ExoSwitch Constraint

To query the translation and rotation drivers of a particular ExoSwitch Constraint via the shelf button, select either the constraint or a node that is part of the constraint system.

Example Command Code:
exoSwitchConstraint -q -td -rd exoSwitchConstraint1;
stacks_image_8447FCBC-88F2-4079-B476-755ACB9CEACF
Query The Translation Driver Of An ExoSwitch Constraint

To query the translation driver of a particular ExoSwitch Constraint via the shelf button, select either the constraint or a node that is part of the constraint system.

Example Command Code:
exoSwitchConstraint -q -td exoSwitchConstraint1;
stacks_image_FADB0E87-DA56-46DA-BC62-4D4072F4877C
Query The Rotation Driver Of An ExoSwitch Constraint

To query the rotation driver of a particular ExoSwitch Constraint via the shelf button, select either the constraint or a node that is part of the constraint system.

Example Command Code:
exoSwitchConstraint -q -rd exoSwitchConstraint1;
stacks_image_03A8BD08-84DB-488A-BE05-6709E7AE7FBA
Query The Driven Nodes Of An ExoSwitch Constraint

To query the nodes being driven on a particular ExoSwitch Constraint via the shelf button, select either the constraint or a node that is part of a constraint system.

Example Command Code:
exoSwitchConstraint -q -dn exoSwitchConstraint1;
stacks_image_4A2BDBF2-4018-42AB-AB41-BB1EC95601B9
Query All The Members Of An ExoSwitch Constraint System

To query all the nodes connected to a particular ExoSwitch Constraint via the shelf button, select either the constraint or a node that is part of a constraint system.

Example Command Code:
exoSwitchConstraint -q -cm exoSwitchConstraint1;
stacks_image_8C59CC68-F185-4E38-AAFE-65E85C6A56A2
Query The Animated Nodes Connected To An ExoSwitch Constraint

To query what nodes have animation in a particular ExoSwitch Constraint via the shelf button, select either the constraint or a node that is part of a constraint system.

Example Command Code:
exoSwitchConstraint -q -an exoSwitchConstraint1;
stacks_image_27CCD5DC-637C-4E4D-8212-60273D694C5C
Query The Disabled Nodes Of An ExoSwitch Constraint

To query what nodes are disabled on a particular ExoSwitch Constraint via the shelf button, select either the constraint or a node that is part of a constraint system.

Example Command Code:
exoSwitchConstraint -q -dsn exoSwitchConstraint1;
stacks_image_6AF218E2-42EE-4CAA-8DD9-8FA4F75E402B
ExoSwitch Constraint HELP

This buttons prints out th syntax and flag information/use for the exoSwitchConstraint command.

Example Command Code:
exoSwitchConstraint -help;
stacks_image_A8A786D3-E3DF-428B-B133-BC3AF0905746
ExoTools Web Links

This button provides some convenient links to important ExoTools related information.

From here you can reach:
© 2010 Exotools Inc. Contact Us