*BeginSystemGroup()
Creates a system group.
Syntax
*BeginSystemGroup(group_name, "group_label", [parent_sys], [HIDE])
Arguments
- group_name
- The variable name of the group.
- group_label
- The descriptive label of the group.
- parent_sys(Optional)
- Specifies the parent system for the system created by this group.
- HIDE (Optional)
- Specifies if the system group is hidden in the Assembly Wizard.
Example
*BeginPanel()
*if ( model_type == "Front end of vehicle" )
*Title("Steering Subsystems for Front Half Vehicle Model")
*elseif ( model_type == "Rear end of vehicle" )
*Title("No Steering System")
*elseif ( model_type == "Full vehicle" )
*Title("Steering Subsystems for Full Vehicle Model")
*endif()
*Prompt("Select steering subsystems.")
*if(model_type == "Front end of vehicle" || model_type ==
"Full vehicle" )
...
*BeginSystemGroup(sys_boost, "Steering boost",
sys_steering)
*System("None")
*BeginSystem("Steering boost 1", sysdef_boost,
"Libs/Models/Steering/Boost/boost1.mdl",
"Steering boost 1")
*Attach(p_upper_inp, model.sys_steering.p_upper_inp)
*Attach(p_tbar, model.sys_steering.p_upper_pin,
sys_steering.p_upr_wormshaft)
*Attach(b_tbar_att, model.sys_steering.b_pinion,
sys_steering.b_wormshaft)
*EndSystem()
*EndGroup()
*endif()
*EndPanel()
Context
*BeginPanel()
Comments
Selecting a system from a system group in a wizard panel causes an instance of that system to be created in the model.
If "parent_sys" is selected, this system is instantiated inside the "parent_sys".
group_name becomes the varname of the selected system.