Category 3D drawings and annotations, Object ProDimension

Function ProDimensionOrdinateCreate


Description
Creates a new ordinate driven or reference dimension in solid model. ProAnnotationShow() should be called after creating the dimension in order for the dimension to be displayed.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProDimension.h>
ProErrorProDimensionOrdinateCreate(
ProSolid model
/* (In)
The target model.
*/
ProType type
/* (In)
The dimension type (PRO_DIMENSION or PRO_REF_DIMENSION)
*/
ProAnnotationElem* baseline
/* (In)
The baseline dimension to reference.
*/
ProDimAttachment reference
/* (In)
The geometry reference(s) for the ordinate dimension.
*/
ProDimSense* sense
/* (In)
The dimension sense to use for the attachment geometry.
*/
Pro3dPnt location
/* (In)
The initial location of the dimension text.
*/
ProDimension* dimension
/* (Out)
The newly created dimension.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_BAD_DIM_ATTACHThe dimension cannot be created referencing the given baseline and attachment geometry.
See Also
ProDimensionCreate

Manual References:

  1. Annotations: Annotation Features and Annotations: Accessing Ordinate and Baseline Dimensions
  2. Annotations: Annotation Features and Annotations: Accessing Ordinate and Baseline Dimensions