Your Ad Here

Go to: Synopsis. Flags. Return value. Related.

Synopsis

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.

Flags

attribute, help, index
Long name (short name) [argument types] Properties
help(h) boolean create
Prints a quick help message, including a list of all attributes for the -a/attribute flag.
attribute(a) string query
Specifies which attribute to set

In query mode, this flag needs a value.

index(idx) boolean query
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.

Return value


Varies, depending on values requested.

Related

cpSetSolverAttr

Return to Autodesk Index


Your Ad Here