*BeginAssemblyDataFile()

Indicates the beginning of the data file for an assembly in the data file.

Syntax

*BeginAssemblyDataFile(DEFINITION_TYPE,[AssemblyType], [LABEL,"label")

Arguments

DEFINITION_TYPE
This keyword indicates that the next token is an assembly type.
Data type: keyword
AssemblyType
The type of assembly definition. See Comments below.
Data type: string
LABEL
This keyword indicates that the next token is a label.
Data type: keyword
label
The label for the assembly.
Data type: string

Example

*BeginAssemblyDataFile(DEFINITION_TYPE, InlineEngine , LABEL, 
"Inline Engine Assembly")
*DefinitionInclude("../Definition/def_inline_engine.mdl")
*BeginAssemblySelection(assem_cyl1, "Cylinder 1 Assembly", 
ds_engine, assem_crank.p_crank_pin, 
assem_crank.b_crank)
 *DataInclude("data_cyl.mdl")
*EndSelection()
*BeginAssemblySelection(assem_crank, "Crank Shaft Assembly", 
ds_engine)
 *DataInclude("data_crank.mdl")
*EndSelection()
*SetAttachmentCandidateTag(cand_0, EngineDataSet)
*EndDataFile()

Context

The data file of an assembly.

Comments

The AssemblyType in this statement should match the AssemblyType token in the *DefineAssembly() block of the referenced definition file. If it does not match, MotionView will warn and replace this string with that of the definition file.

This block should contain a *DefinitionInclude() statement to include the definition file for the assembly.

The label in the data file will be used as the default label when adding an assembly using the data file in MotionView.