User's Guide > Drawings > Detail Attachments > Offset Attachment
Offset Attachment
The pfcATTACH_OFFSET detail attachment type is represented by the interface pfcOffsetAttachment. It is a child of the pfcAttachment interface.
Methods Introduced:
The method pfcOffsetAttachment::GetAttachedGeometry returns the pfcSelection 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 pfcOffsetAttachment::SetAttachedGeometry assigns the pfcSelection 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 pfcOffsetAttachment::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 pfcOffsetAttachment::SetAttachmentPoint sets the attachment point in screen coordinates.
Was this helpful?