/
getBooleanArrayProperty
getBooleanArrayProperty
Description
Retrieves an array of Boolean values from a object's attributes.
Because Shogun Post commands can only have one return type, there must be separate commands for retrieving different types of property data.
This command is mainly used to retrieve the DOF (Degrees of Freedom) attribute. A six element Boolean array is returned. DOFs that are turned on will have "true" array values.
Functional area
Data retrieval
Command syntax
Syntax
getBooleanArrayProperty moduleName propertyName |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
propertyName | string | yes | Name of the property on the object. |
moduleName | string | yes | Object to retrieve property value from. |
Flags
None
Return value
boolean array
Examples
// Get the DOFs of the "thorax" bone. boolean $dofs[]; $dofs = `getBooleanArrayProperty "thorax" "DOF"`; print $dofs;
Additional information
Related commands
, multiple selections available,