Go to: Synopsis. Return value. Related. Flags.
cpProperty([addVerts=boolean], [assign=propertyName], [help=boolean], [indexList=[string, string]], [list=boolean], [listMeshNodes=string], [listSets=boolean], [name=propertyName], [reassign=propertySetName], [remove=boolean], [removeVerts=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
cpProperty is undoable, queryable, and editable.
This command creates or assignes a property node.
string
The new property node name.
In query mode, return type is based on queried flag.
cpButton, cpCollision, cpConstraint, cpPanel, cpSeam, cpSolver, cpTool
addVerts, assign, help, indexList, list, listMeshNodes, listSets, name, reassign, remove, removeVerts
| Long name (short name) |
argument types |
Properties |
help(h)
|
boolean
|
|
|
Prints a quick help message.
|
|
assign(a)
|
propertyName
|
|
|
This option assigns the property with the given name to the
set of selected panels.
|
|
reassign(ra)
|
propertySetName
|
|
|
This option assigns the selection to the existing property set
node. This is useful for assigning an alterative set of vertices
to an existing property set. The selected vertices must belong
to the same mesh that the property was previously assigned.
|
|
addVerts(add)
|
boolean
|
|
|
This flag can be used with the -reassign flag to specify that
that the given selection list should be added to the property set
versus the default action of replace.
|
|
removeVerts(rv)
|
boolean
|
|
|
This flag can be used with the -reassign flag to specify that
the selected vertices should be removed from the property set.
|
|
remove(r)
|
boolean
|
|
|
Remove the property nodes from the selected items. This removes
the controller node connection from the solver. It does not delete
the node.
|
|
list(l)
|
boolean
|
|
|
This option returns the names of the property nodes that
are in the scene.
|
|
listSets(ls)
|
boolean
|
|
|
List the property sets in the scene.
|
|
indexList(il)
|
[string, string]
|
|
|
Show the index list for the given property set and mesh. The
property set is the first argument and the mesh is the second argment.
If the mesh is not attached to the property set nothing is returned.
|
|
listMeshNodes(lmn)
|
string
|
|
|
Show the mesh nodes that belongs to the given property set.
|
|
name(n)
|
propertyName
|
|
|
This option uses the given name when creating a property.
|
|
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 have multiple arguments, passed either as a tuple or a list.
|