API 文档 > Drawings and detail > Object ProDrawing > Function ProDrawingDimToOrdinate
Function ProDrawingDimToOrdinate
Description
Converts a linear dimension to ordinate using the base dimension specified. Available only in drawing mode. The drawing must be displayed.
Replacement in Object TOOLKIT:
Synopsis
#include <ProDrawing.h>
ProDrawingDimToOrdinate
(
ProDrawing drawing
/* (In)
the drawing.
*/
ProDimension* dimension
/* (In)
linear dimension to be converted to ordinate.
*/
ProDimension* base_dimension
/* (In)
the ordinate baseline dimension to be used.
*/
)
Returns
one or more of the input arguments are invalid.
failed to convert the linear dimension to ordinate.
successfully converted the linear dimension to ordinate.
Model is in read-only state.
Could not modify the given item because it has read-only access.
Sample Code References
User Guide References
这对您有帮助吗?