Category Drawings and detail, Object ProDtlattach

Function ProDtlattachSet


Description
Modifies the contents of a ProDtlattach. The arrow type of the existing ProDtlattach will be preserved.
Synopsis
#include <ProDtlattach.h>
ProErrorProDtlattachSet(
ProDtlattach attachment
/* (In)
The detail attachment to be modified.
*/
ProDtlattachType type
/* (In)
The attachment type (FREE, PARAMETRIC or OFFSET).
*/
ProView view
/* (In)
The view. Use only if the attachment type is set to PRO_DTLATTACHTYPE_FREE, to make an attachment relative to a drawing view. Use NULL to attach to a point unconnected to a drawing view and for solid model annotations.
*/
ProVector location
/* (In)
The attachment location. Use if the attachment type is set to PRO_DTLATTACHTYPE_FREE or PRO_DTLATTACHTYPE_OFFSET. For drawing objects and symbols and surface finish on flat-to-screen annotation planes, this should be in screen coordinates. For symbols and surface finish on 3D model annotation planes, this should be in model coordinates.
*/
ProSelection attach_point
/* (In)
The attachment point. Use if the attachment type is PRO_DTLATTACHTYPE_PARAMETRIC or PRO_DTLATTACHTYPE_OFFSET. For drawing attachments, the drawing view and attachment reference must be specified as a part of this structure created using ProSelect(), or by using ProSelectionAlloc () plus ProSelectionViewSet() and ProSelectionPoint3dSet().
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully allocated memory.
PRO_TK_BAD_INPUTSBad one or more input arguments.
PRO_TK_INVALID_TYPEBad type.

Manual References:

  1. Drawings: Detail Attachments and Leaders
  2. Drawings: Detail Attachments and Leaders