API 文件集 > 3D drawings and annotations > Object ProDimension > Function ProDimensionOrdinateCreate
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.
Replacement in Object TOOLKIT:
Licensing Requirement
Synopsis
#include <ProDimension.h>
ProDimensionOrdinateCreate
(
ProSolid model
/* (In)
The target model.
*/
ProType type
/* (In)
The dimension type (PRO_DIMENSION or PRO_REF_DIMENSION)
*/
/* (In)
The baseline dimension to reference.
*/
/* (In)
The geometry reference(s) for the ordinate dimension.
*/
/* (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
The function succeeded.
One or more input arguments was invalid.
The dimension cannot be created referencing the given baseline and attachment geometry.
See Also
這是否有幫助?