Category Drawings and detail, Object ProDrawing

Function ProDrawingDimensionAttachmentsSet


Description
Modifies the attachment information for a reference or driven dimension created in drawing.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingDimensionAttachmentsSet(
ProDrawing drawing
/* (In)
Handle to the drawing which contains the drawing tree.
*/
ProDimension* dimension
/* (In)
The dimension (type must be PRO_REF_DIMENSION or PRO_DIMENSION)
*/
ProDimAttachment* attachments_arr
/* (In)
ProArray of attachments.
*/
ProDimSense* dsense_arr
/* (In)
ProArray of dimension sense.
*/
ProDimOrient orient_hint
/* (In)
The orientation hint for the dimension.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_BAD_DIM_ATTACHA dimension could not be created with the attachments and sense specified.
PRO_TK_CANT_WRITECould not modify the given item because it has read-only access.

Manual References:

  1. Drawings: Drawing Dimension Attachments and Dimension Creation
  2. Drawings: Drawing Dimension Attachments and Dimension Creation