Documentación de la API > Dimensions > Object ProDimension > Function ProDimensionCreate
Function ProDimensionCreate
Description
Creates a new reference or driven dimension in the solid model. ProAnnotationShow() should be called after creating the dimension in order for the dimension to be displayed.
Replacement in Object TOOLKIT:
Licensing Requirement
Synopsis
#include <ProDimension.h>
ProDimensionCreate
(
ProSolid model
/* (In)
The solid model.
*/
ProType dimension_type
/* (In)
The dimension type (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.
*/
Pro3dPnt location
/* (In)
initial location of the dimension text.
*/
ProDimension* dimension
/* (Out)
the newly created dimension
*/
)
Returns
The function succeeded.
Model is in read-only state.
One or more of the input arguments are invalid.
A dimension could not be created with the attachments and sense specified.
User Guide References
¿Fue esto útil?