Go to: Synopsis. Return value. Related. Flags. MEL examples.
connectJoint [-connectMode] [-parentMode]
[objects]
connectJoint is undoable, NOT queryable, and NOT editable.
This command will connect two skeletons based on the two selected joints. The first selected joint can be made a child of the parent of the second selected joint or a child of the second selected joint, depending on the flags used. Note1: The first selected joint must be the root of a skeleton. The second selected joint must have a parent. Note2: If a joint name is specified in the command line, it is used as the child and the first selected joint will be the parent. If no joint name is given at the command line, two joints must be selected.None
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-connectMode(-cm)
|
|
|||
|
||||
-parentMode(-pm)
|
|
|||
|
Flag can appear in Create mode of command | Flag can appear in Edit mode of command |
Flag can appear in Query mode of command | Flag can be used more than once in a command. |
// make joint1 a child of joint4. // connectJoint -pm joint1 joint4; // make joint1 a child of joint4's parent // connectJoint -cm joint1 joint4;