Category Drawings and detail, Object ProDtlattach

Function ProDtlattachGet


Description
Gets a detail attachment data.
Synopsis
#include <ProDtlattach.h>
ProErrorProDtlattachGet(
ProDtlattach attachment
/* (In)
The detail attachment.
*/
ProDtlattachType* type
/* (Out)
The attachment type (FREE, PARAMETRIC, OFFSET or UNIMPLEMENTED).
*/
ProView* view
/* (Out)
The view if type == PRO_DTLATTACHTYPE_FREE or type == PRO_DTLATTACHTYPE_UNIMPLEMENTED. Could be NULL.
*/
ProVector location
/* (Out)
The attachment location if type == PRO_DTLATTACHTYPE_FREE, PRO_DTLATTACHTYPE_OFFSET or PRO_DTLATTACHTYPE_UNIMPLEMENTED. 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
/* (Out)
The attachment point if type == PRO_DTLATTACHTYPE_PARAMETRIC or PRO_DTLATTACHTYPE_OFFSET.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved data.
PRO_TK_BAD_INPUTSBad one or more input arguments.
PRO_TK_GENERAL_ERRORCan't get data.
PRO_TK_OUT_OF_MEMORYNot enough memory.

Manual References:

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

Sample Code References:

  1. pt_examples ( TestDtlnote.c )