Documentación de la API > Drawings and detail > Object ProDrawing > Function ProDrawingDimensionCreate
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.
Replacement in Object TOOLKIT:
Synopsis
#include <ProDrawing.h>
ProDrawingDimensionCreate
(
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)
*/
ProDimension* dimension
/* (Out)
The newly created dimension.
*/
)
Returns
One or more arguments are invalid,
A dimension could not be created with specified attachments and sense
Successfully created a dimension with specified attachments and sense.
Model is in read-only state.
Sample Code References
User Guide References
¿Fue esto útil?