Go to: Synopsis. Flags. Return value. Related.
cpSetSolverAttr([attribute=string], [help=boolean], [index=boolean], [solverOnly=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
cpSetSolverAttr is undoable, queryable, and editable.
This command is used to provide values to the 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 framem, the values supplied to cpSetSolverAttr will not be used.
attribute, help, index, solverOnly
| 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
|
|
|
Specfies which attribute to set
In query mode, this flag needs a value.
|
|
solverOnly(so)
|
boolean
|
|
|
Update only the solver internals, not the cache or output meshes. This should be used during subframe callbacks.
In query mode, this flag needs a value.
|
|
index(idx)
|
boolean
|
|
|
Specfies the which control point is being set. Each control point must be set individually.
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.
cpGetSolverAttr
Return to Autodesk Index