*RigidGroup()
Group bodies into a rigid group that will move together.
Syntax
*RigidGroup(varname, "label", body_1, body_2, ..., body_n)
Note: [] indicates optional arguments.
Arguments
- varname
- The variable name of the RigidGroup entity.
- label
- The descriptive label for the entity.
- body_1, body_2, …, body_n
- A series of body variable names that are being grouped.
Example
*BeginMDL( the_model, "Model", "2021" )
*Body( b_Base, "Base", , , , , )
*Body( b_Railoa1, "Rail-oa1", , , , , )
*Body( b_Railoa2, "Rail-oa2", , , , , )
*RigidGroup( rg_0, "RigidGroup 0", b_Railoa1, b_Base, b_Railoa2)
*EndMDL()
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
varname | varname | The variable name of the RigidGroup. |
label | string | The label of the RigidGroup. |
state | boolean | Indicates the active/inactive state. |
id | integer | The assigned ID of the entity. |
idstring | string | The assigned ID in string form. |
is_grounded | boolean | Valid values are true|false. True indicates the RigidGroup is treated as part of a Ground Body. Default - false. |
Comments
- A RigidGroup should contain more than one body.
- Only rigid bodies can be part of a RigidGroup.
- A body which is part of one RigidGroup cannot be part of another RigidGroup.
- The RigidGroup is exported to the solver deck as one body (RigidGroup body). The bodies within the group and any connecting entities between these bodies are ignored.
- Markers on a body within the group are exported as belonging to the RigidGroup body.
- The RigidGroup body can be treated as Ground using the is_grounded property set using *SetRigidGroup().