Controller Functions for use with Constraint Assignments

Topic: version 4 MAXScript New Features/Constraints

These functions are defined in in stdplugs\stdscripts\ControllerFunctions.ms
and in ui\macroscripts\ Macro_Constraints.mcr.

Methods

AddListController OBJ Trans ListType

Checks to see if a list controller is assigned. If not, it will assign to the designated Trans using the ListType, This way it can be used for all list controllers.

AddConstraint OBJ Trans Constraint List  

SetActiveController OBJ Trans Controller

AddConstraintTargets OBJ Trans Array Target

Example:

Foo = Selection as array

AddListController "Foo[1]" "Pos" "Position_List"

See also