Category 3D drawings and annotations, Object ProDimension

Function ProDimensionAttachmentsSet


Description
Modifies the attachment information for a reference or driven dimension.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProDimension.h>
ProErrorProDimensionAttachmentsSet(
ProDimension* dimension
/* (In)
The dimension (type must be PRO_REF_DIMENSION or PRO_DIMENSION)
*/
ProAnnotationPlane* annotation_plane
/* (In)
The annotation plane for the 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. Annotations: Annotation Features and Annotations: Accessing Reference and Driven Dimensions