*Attachment()

Specifies the details of a system or analysis attachment.

Syntax

*Attachment(att_name, "att_label", entity_type, note, optional_arg)

Arguments

att_name
The variable name of the attachment.
Data type: varname
att_label
The descriptive label of the attachment.
Data type: label
entity_type
A valid entity type for the attachment.
Data type: string
note
A descriptive note for the attachment.
Data type: string
optional_arg
The variable name of the entity that was specified for the attachment when the system was saved.
Data type: varname

Example

*DefineSystem(sysdef_blade, b_crank, b_follower_att)
      *Attachment(b_crank, "Crank body", Body, "Coupler attachment body", MODEL.sys_blade.b_crank_body)
      *Attachment(b_follower_att, "Follower attach body", Body, "Follower attachment body", MODEL.sys_blade.b_follower_body)
…... 
*EndDefine()

Context

*DefineSystem()

*DefineAnalysis()

Comments

The entity-type argument specifies the type of entities that can be passed in for this attachment when creating a system from this definition. The following keywords are valid for *Attachment():

Table 1.
AdvJoint Form System
Analysis Gear Template
Assembly Graphic Vector
Beam GraphicPair AdvJointPair
Body IntegerData BeamPair
BooleanData Joint BodyPair
Bush Marker BushingPair
Bushing Motion CouplerPair
ColorMaterial Option FieldPair
CommandSet OptionData ForcePair
Contact Output JointPair
ControlSISO Point MarkerPair
ControlState PolyBeam MotionPair
Coupler RealData PointPair
Curve Sensor SpringDamperPair
DataSet SolverArray VectorPair
DeformableCurve SolverDiff
DeformableSurface SolverString
Event SolverVariable
Field SpringDamper
FileNameData StringData
Force Surface