*BeginDefinitionFile()

Indicates the beginning of the definition for an assembly or analysis in the definition file.

Syntax

*BeginDefinitionFile(LABEL,"label")

Arguments

LABEL
This keyword indicates that the next token is a label.
Data type: keyword
label
The label for the assembly.
Data type: string

Example

*BeginDefinitionFile(LABEL, "Inline Engine Assembly Definition")
 *DefineAssembly(def_eng_inline, TYPED, Inline)
 *AssemblyPlaceholder(assem_cyl1, "Cylinder 1 Assembly", 
EngineCylinder, 
"Select Cylinder 1 assembly.", , )
 *AssemblyPlaceholder(assem_crank, "Crank Shaft Assembly", 
CrankShaft, 
"Select CrankShaft assembly", , )
 *DataSet(ds_engine, "Engine DataSet", def_ds_engine)
 *AttachmentCandidate(cand_0, "Attachment Candidate 0", ds_engine)
 *SetReal(ds_engine.pitch, 150)
 *SetReal(ds_engine.stroke, 50)
 *SetReal(ds_engine.conrod_len, 100)
 *SetReal(ds_engine.bore, 25)
 *SetReal(ds_engine.cyl1_x, 1500)
 *SetReal(ds_engine.span_bear, 100)
 *EndDefine()
*DefineDataSet(def_ds_engine)
 *Real(bore, "Bore")
 *Real(stroke, "Stroke")
 *Integer(n_cyl, "No. of Cylinders")
 *Real(conrod_len, "Con Rod Length")
 *Real(cyl1_x, "X Location of Cylinder 1")
 *Real(span_bear, "Bearing Span")
 *EndDefine()
*EndDefinitionFile()

Context

The definition file of an assembly.

Comments

This block can only contain one *DefineAssembly() or *DefineAnalysis() block. It may contain any of the other *Define blocks also.

This block is terminated by the *EndDefinitionFile() statement.