Category 3D drawings and annotations, Object ProDimension

Function ProDimensionTollabelSet


Description
Sets the ISO/DIN tolerance label on the specified dimension.
Replacement in Object TOOLKIT: pfcDimension::Tolerance
Synopsis
#include <ProDimension.h>
ProErrorProDimensionTollabelSet(
ProDimension* dimension
/* (In)
The dimension handle.
*/
ProToleranceTable type
/* (In)
The tolerance type to be assigned to the dimension.
*/
ProName table
/* (In)
The table name to be assigned to the dimension. Used only if type is PROTOLTABLE_HOLES or PROTOLTABLE_SHAFTS.
*/
int column
/* (In)
The table column to be assigned to the dimension. Used only if type is PROTOLTABLE_HOLES or PROTOLTABLE_SHAFTS.
*/
)
Returns
PRO_TK_NO_ERRORThe operation was successful.
PRO_TK_E_NOT_FOUNDThere was no corresponding tolerance table.
PRO_TK_BAD_CONTEXTThe dimension has no tolerance (a driven dim) or the model is not in the ISO/DIN standard.
PRO_TK_BAD_INPUTSThe dimension was invalid or an input was NULL.
PRO_TK_CANT_MODIFYThe model is locked and cannot be modified.
PRO_TK_CANT_ACCESSThe table was valid but could not be accessed because it had not yet been loaded.

Manual References:

  1. Annotations: Annotation Features and Annotations: ISO/DIN Tolerance Table Use