*SetAttachmentCandidateTag()

Syntax

*SetAttachmentCandidateTag(variable_name, Tag)

Arguments

Variable_Name
The variable name of the attachment candidate that is being tagged.
Data type: varname
Tag
The text that matches the tag on the *Attachment statement which will be associated with the entity being passed into the system.
Data type: String (no quotes)

Example

*DefineSystem(sysdef_subframe_rear, TYPED , RearSubFrame, , B_body)
 Attachments
 *Attachment(B_body, "Subframe attach", Body|BodyPair, "Body to which subframe is mounted" , , VehicleBody)
 *AttachmentCandidate(conn_body_subframe_rear, "Connector for SubFrame body", b_subframe)
 
*SetAttachmentCandidateTag(conn_body_subframe_rear, VehicleBody)
 * AttachmentCandidate (conn_body_subframe_rear2, "Connector for SubFrame body 2", b_subframe)
 * SetAttachmentCandidateTag (conn_body_subframe_rear2, SubframeBody)
*EndDefine()

Comments

This statement identifies which of the set of *AttachmentCandidates are actually to be used as the variable to pass into a child system, based on the tag of the *Attachment statement within its associated system.