Go to: Synopsis. Flags. Return value. Related. MEL examples.
cpTool [-drag] [-help]
cpTool is undoable, queryable, and editable.
Create a cloth control. Controls allow you to manipulate the
cloth object directly. To create a control, select one or more
vertices of the cloth mesh. Then issue the cpTool -drag
command to create a cloth control. The control will be
attached to these vertices. You must then run a local simulation
to see the cloth object move.
drag, help
Long name (short name) |
[argument types] |
Properties |
-help(-h)
|
|
|
|
Print a quick help message.
|
|
-drag(-d)
|
|
|
|
Create a drag control. This control has a shuttle
object which moves along a motion path. The shuttle
is attached to the selected vertices and pulls them along.
The motion path's shape can be modified by selecting the end
locator and moving it. The shuttle will follow the modified
path. A local simulation will move the shuttle along the path.
The shuttle can also be key framed by setting keys on the the
uValue attribute.
|
|
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
|
[none]
cpButton, cpCollision, cpConstraint, cpPanel, cpProperty, cpSeam, cpSolver
// Select some vertices of the cloth mesh, and then
// create a drag control.
//
select -r pPlane1.vtx[28] pPlane1.vtx[38:40] pPlane1.vtx[50];
cpTool -drag;