Category Drawings and detail, Object ProDrawing

Function ProDrawingDimensionCreate


Description
Creates dimension in drawing mode with the specified attachments and sense, at the specified location.This function also supports intersection of geometric entities and attachment.
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingDimensionCreate(
ProDrawing drawing
/* (In)
The Drawing
*/
ProDimAttachment* attachment_arr
/* (In)
ProArray of Attachments
*/
ProDimSense* dsense_arr
/* (In)
ProArray of sense
*/
ProDimOrient orinet_hint
/* (In)
Orientation hint for dimension
*/
ProVector location
/* (In)
Specifies the location for putting dimension text
*/
ProBoolean ref_dim
/* (In)
Pass PRO_B_TRUE to create PRO_DIMENSION PRO_B_FALSE to create PRO_REF_DIMENSION.
*/
ProDimension* dimension
/* (Out)
The newly created dimension.
*/
)
Returns
PRO_TK_BAD_INPUTSOne or more arguments are invalid,
PRO_TK_BAD_DIM_ATTACHA dimension could not be created with specified attachments and sense
PRO_TK_NO_ERRORSuccessfully created a dimension with specified attachments and sense.

Manual References:

  1. Drawings: Drawing Dimension Attachments and Dimension Creation
  2. User Interface: Selection: ProSelection Function Examples

Sample Code References:

  1. pt_examples ( TestDimension.c )
  2. pt_userguide ( UgDrawingDimensions.c )
  3. pt_userguide ( UgDrawingDimensions.c )