Go to: Synopsis. Flags. Return value. Related.
cpGetSolverAttr([attribute=string], [help=boolean], [index=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
cpGetSolverAttr is undoable, queryable, and editable.
This command is used to extract values from a cloth solver
node. This command can only be used when the solver is
computing the cloth mesh. During playback, or whenever the solver
is using a cache to obtain information for the
current frame, the values from cpGetSolverAttr will not be valid.
attribute, help, index
| Long name (short name) |
[argument types] |
Properties |
help(h)
|
boolean
|
|
|
Prints a quick help message, including a list of all attributes
for the -a/attribute flag.
|
|
attribute(a)
|
string
|
|
|
Specifies which attribute to set
In query mode, this flag needs a value.
|
|
index(idx)
|
boolean
|
|
|
Specifies the which control point is being set, optional.
In query mode, this flag needs a value.
|
|
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.
|
Varies, depending on values requested.
cpSetSolverAttr
Return to Autodesk Index