*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.
- att_label
- The descriptive label of the attachment.
- entity_type
- A valid entity type for the attachment.
- note
- A descriptive note for the attachment.
- optional_arg
- The variable name of the entity that was specified for the attachment when the system was saved.
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
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():
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 |