mechanisms

Unless otherwise specified, data names are accessible in level 3 only.

activejoints
The joints belonging to the mechanism.
Type: entity array
activesuppressed
Returns non-zero if the entity is set inactive, 0 otherwise.
Type: integer
attributesmax
The number of attributes owned by this entity.
Type: unsigned integer
childbodiesalllocked
A flag indicating if the bodies of secondary mechanisms are all locked to the current mechanism.
Type: Boolean
childdofs
The DOFs locked in the relation between parentbody and lockedchildbodies.
Defined as 6 integers {Tx Ty Tz Rx Ry Rz}.
If set as {1 1 1 0 0 0} then all translation DOFs of lockedchildbodies are locked to parentbody.
Type: integer array
childmechanism
The child/secondary mechanism of the mechanism.
Type: entity
color
The 1-64 color of the entity.
Type: integer
config
The configuration of the entity.
1 - Standard
3 - Dummy
Type: unsigned integer
constraints
The constraints belonging to the mechanism.
Type: entity array
definedentity
True if the entity is defined, false otherwise.
Type: Boolean
enabled
The enabled flag.
Type: Boolean
id
The ID of the entity.
Type: unsigned integer
ignoredjoints
The joints belonging to the mechanism that are ignored and not used for positioning.
Type: entity array
include
The ID of the include file the entity is organized in.
Type: entity
includeid
The ID of the include file the entity is organized in.
Type: unsigned integer
internalid
The ID of the entity.
Type: unsigned integer
lockedchildbodies
The child bodies belonging to the mechanism that are locked to the mechanism.
Type: entity array
mcon_label
Set to 1 when a coupler type of constraint is present in the model and the mechanism joint export will have ID fields.
Type: unsigned integer
moduleid
The module ID of the entity.
Type: integer
move_xsec
Import/export of move xsec in mechanism and dummy export format.
Type: unsigned integer
name
The name of the entity.
Type: string
orphanbodies
The bodies belonging to the mechanism.
Type: entity array
outputsuppressed
Returns non-zero if the entity is set "do not export", 0 otherwise.
Type: integer
parentbody
The main body that drives the child/secondary mechanism.
Type: entity
parentmechanism
The parent mechanism of the mechanism.
Type: entity
poolid
The pool number of the entity.
Type: integer
poolname
The pool name of the entity.
Type: string
referenceposition
The position entity with the current orientation of the mechanism.
Type: entity array
solver_id
The solver ID of the entity.
Type: integer
solverkeyword
The name of the solver keyword.
Type: string

Version History

2020 - Added new data names color_rgb, mcon_label and move_xsec.

2020.1 - Added new data name solverkeyword.

2021.1 - Added new data names moduleid, poolid, poolname, and solver_id.