Category Drawings and detail, Object ProDrawing

Function ProDrawingDimToOrdinate


Description
Converts a linear dimension to ordinate using the base dimension specified. Available only in drawing mode. The drawing must be displayed.
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingDimToOrdinate(
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
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_NO_ERRORsuccessfully converted the linear dimension to ordinate.
PRO_TK_CANT_WRITECould not modify the given item because it has read-only access.

Manual References:

  1. Drawings: Ordinate Dimensions
  2. Drawings: Ordinate Dimensions

Sample Code References:

  1. pt_userguide ( UgDrawingDimensions.c )
  2. pt_userguide ( UgDrawingDimensions.c )