Category Geometry items, Object ProGeomitem

Function ProGeomitemSetdatumSet


Description
Sets a datum plane or axis to be a Set Datum. This function supersedes ProGeomitemGtolrefSet.
Synopsis
#include <ProGtol.h>
ProErrorProGeomitemSetdatumSet(
ProGeomitem* geomitem
/* (In)
The datum plane or axis
*/
ProGtolsetdatumValue* value
/* (In)
The type and reference object for the "Set Datum" to apply. Pass NULL to make it a "Free" Set Datum.
*/
)
Returns
PRO_TK_NO_ERRORThe function completed successfully.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_CANT_WRITECould not modify the given item because it has read-only access.

Manual References:

  1. Annotations: Annotation Features and Annotations: Accessing Set Datums for Datum Axes or Planes
  2. Annotations: Annotation Features and Annotations: Accessing Set Datums for Datum Axes or Planes

Sample Code References:

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