*SetRigidGroup()
Set properties for the rigid group.
Syntax
*SetRigidGroup(varname, is_grounded)
Arguments
- varname
- The variable name of the RigidGroup entity.
- is_grounded
- Flag to set the rigid group as grounded.
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)
*SetRigidGroup( rg_0, true)
*EndMDL()
Context
Comments
- When a rigid group is grounded, all graphics and markers belonging to the bodies within the rigid group are exported to the solver with their parent body as Ground.