Category Drawings and detail, Object ProDrawing

Function ProDrawingOrdinateDimensionsCreate


Description
Creates multiple ordinate driven or reference dimension in drawing.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProDimension.h>
ProErrorProDrawingOrdinateDimensionsCreate(
ProDrawing drawing
/* (In)
The target drawing.
*/
ProType pro_type
/* (In)
T_DIMENSION or T_REF_DIMENSION.
*/
ProDimAttachment* attachment_array
/* (In)
ProArray of dimension attachments. First attachment will be used to create baseline dimension.
*/
ProDimSense* sense_array
/* (In)
ProArray of dimension sense to use for the attachment.
*/
Pro3dPnt location
/* (In)
ProArray of location of the dimension text.
*/
ProDimension* dim_array
/* (Out)
ProArray of created dimension. Free this using ProArrayFree()
*/
)
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 attachment geometry.