Category Solids and parts, Object ProSolid

Function ProSolidDimensionToOrdinate


Description
Converts a linear dimension to ordinate using the base dimension specified. A Dimension must be ordinate when created first time and then converted to ordinate It will not work on dimension which were created as linear.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProDimension.h>
ProErrorProSolidDimensionToOrdinate(
ProDimension* dimension
/* (In)
linear dimension to be converted to ordinate.
*/
ProDimension* base_dimension
/* (In)
the ordinate baseline dimension to be used.
*/
)
Returns
PRO_TK_NO_ERRORsuccessfully converted the linear dimension to ordinate.
PRO_TK_BAD_INPUTSone or more of the input arguments are invalid.
PRO_TK_GENERAL_ERRORfailed to convert the linear dimension to ordinate.
PRO_TK_CANT_WRITECould not modify the given item because it has read-only access.