Category 3D drawings and annotations, Object ProGtoldata

Function ProGtoldataPlacementSet


DEPRECATED: Since Creo 4.0
SUPERSEDED BY: ProGtolAttachSet
Description
Note: This function is deprecated. Use ProGtolAttachSet() instead. Sets the placement of a gtol. Not applicable if the gtol reference type is PROGTOLRTYPE_DATUM.
Synopsis
#include <ProGtol.h>
ProErrorProGtoldataPlacementSet(
ProGtoldata data
/* (In)
The gtol data description
*/
ProGtolPlacementType type
/* (In)
The placement type
*/
ProDimension* dimension
/* (In)
The dimension to attach to, if type == PROGTOLPTYPE_DIMENSION or PROGTOLPTYPE_DIM_RELATED
*/
ProGtolleader* leaders
/* (In)
ProArray of leader structures. Contains only a single leader if the type is PROGTOLPTYPE_TANLEADER or PROGTOLPTYPE_NORMLEADER
*/
ProPoint3d location
/* (In)
Location of the gtol label If the type is PROGTOLPTYPE_*LEADER*, PROGTOLPTYPE_DIM_RELATED, or PROGTOLPTYPE_FREENOTE. Location is in model coordinates.
*/
ProGtol* gtol
/* (In)
The gtol to attach to, if type == PROGTOLPTYPE_GTOL
*/
ProGtoldataStatus* status
/* (Out)
The resulting status of the gtol
*/
)
Returns
PRO_TK_NO_ERRORThe function completed successfully.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_CANT_MODIFYThe placement may not be modified in this context.
PRO_TK_GENERAL_ERRORAn error occurred and the function failed.

Manual References:

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

Sample Code References:

  1. pt_examples ( TestGtol.c )
  2. pt_userguide ( UgGtolCreate.c )