Category Geometry items, Object ProGeomitem

Function ProGeomitemSetdatumGet


Description
Shows whether a datum plane or axis is a Set Datum. This function supersedes ProGeomitemIsGtolref.
Synopsis
#include <ProGtol.h>
ProErrorProGeomitemSetdatumGet(
ProGeomitem* geomitem
/* (In)
The datum plane or axis
*/
ProBoolean* set
/* (Out)
TRUE is the datum is a Set Datum.
*/
ProGtolsetdatumValue* value
/* (Out)
The type and reference object for the "Set Datum" to apply. If type of ProGtolsetdatumValue is PRO_GTOLREF_IN_GEOM, the caller should free the memory for value.ref.geom by using ProSelectionFree().
*/
)
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.

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 )