Category 3D drawings and annotations, Object ProGtoldata

Function ProGtoldataPlacementGet


DEPRECATED: Since Creo 4.0
SUPERSEDED BY: ProGtolAttachGet
Description
Note: This function is deprecated. Use ProGtolAttachGet() instead. Gets the placement of a gtol.
Synopsis
#include <ProGtol.h>
ProErrorProGtoldataPlacementGet(
ProGtoldata data
/* (In)
The gtol data description
*/
ProGtolPlacementType* type
/* (Out)
The placement type
*/
ProDimension* dimension
/* (Out)
The dimension the gtol is attached to, if type==PROGTOLPTYPE_DIMENSION, or PROGTOLPTYPE_DIM_RELATED
*/
ProGtolleader** leaders
/* (Out)
ProArray of leader structures, if type == PROGTOLPTYPE_LEADERS, PROGTOLPTYPE_TANLEADER or PROGTOLPTYPE_NORMLEADER.
*/
ProPoint3d location
/* (Out)
Location of the gtol label, if the placement type requires a location. Location is in model coordinates.
*/
ProGtol* gtol
/* (Out)
The gtol the gtol is attached to, if type==PROGTOLPTYPE_GTOL.
*/
)
Returns
PRO_TK_NO_ERRORThe function completed successfully.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_GENERAL_ERRORAn error occurred and the function failed.
PRO_TK_NOT_IMPLEMENTEDThe function does not support types of attachments introduced in Creo 4.0.

Manual References:

  1. Technical Summary of Changes for Creo 4.0 F000: Geometric Tolerances

Sample Code References:

  1. pt_examples ( TestGtol.c )