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.
Data retrieval
getBooleanArrayProperty moduleName propertyName |
Name | Type | Required | Comments |
---|---|---|---|
propertyName | string | yes | Name of the property on the object. |
moduleName | string | yes | Object to retrieve property value from. |
None
boolean array
// Get the DOFs of the "thorax" bone. boolean $dofs[]; $dofs = `getBooleanArrayProperty "thorax" "DOF"`; print $dofs; |