User's guide > Drawings > Detail Attachments > Offset Attachment
Offset Attachment
The ATTACH_OFFSET detail attachment type is represented by the interface pfcDetail.OffsetAttachment. It is a child of the pfcDetail.Attachment interface .
Methods Introduced:
The method pfcDetail.OffsetAttachment.GetAttachedGeometry returns the pfcSelect.Selection object representing the item to which the detail attachment is attached. This includes the drawing view where the attachment is made, if the offset reference is in a model.
The method pfcDetail.OffsetAttachment.SetAttachedGeometry assigns the pfcSelect.Selection object representing the item to which the detail attachment is attached. This can include the drawing view. The attachment will occur at the selected parameters.
The method pfcDetail.OffsetAttachment.GetAttachmentPoint returns the attachment point. This location is in screen coordinates for drawing items, symbol instances and surface finishes on flat-to-screen annotation planes, and in model coordinates for symbols and surface finishes on 3D model annotation planes. The distance from the attachment point to the location of the item to which the detail attachment is attached is saved as the offset distance.
The method pfcDetail.OffsetAttachment.SetAttachmentPoint sets the attachment point in screen coordinates.
Was this helpful?