*BeginAssemblySelection()
Adds an assembly into an assembly placeholder.
Syntax
*BeginAssemblySelection(varnname,"Label",[att_1], [att_2],...[att_n])
Arguments
- varname
- The variable name of the assembly being created.
- Label
- The name of the assembly being created.
- att_1, att_2, ...att_n
- The list of variable names of entities that are passed into the instance of the assembly.
Example
*DefinitionInclude("FullVehicle_assembly.mdl")
*BeginAssemblySelection(sys_body, "Vehicle Body", sys_frnt_susp.b_tierod)
*DataInclude("../../../Systems/Body/body1_data.mdl")
*EndSelection()
Context
Comments
This statement applies only to the new way of creating assemblies in MotionView (starting in version 11.0), where modular assemblies using separate data and topology files were enabled.
The varname of this block should match with the varname of the *AssemblyPlaceholder statement to which the assembly has to be added.
This block should contain the *DataInclude statement that specifies the assembly data file.
Every *BeginAssemblySelection statement requires a closing *EndSelection statement.