Category Geometry items, Object ProSurface

Function ProSurfaceToGeomitem


Description
Converts a ProSurface handle to its ProGeomitem handle.
Synopsis
#include <ProGeomitem.h>
ProErrorProSurfaceToGeomitem(
ProSolid solid
/* (In)
The owner of the surf_handle.
*/
ProSurface surf_handle
/* (In)
The ProSurface handle to convert.
*/
ProGeomitem* r_geom_item
/* (Out)
The ProGeomitem handle for the surface. You must allocate the memory for this structure.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully converted the surface handle to its geometry item handle.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Sample Code References:

  1. pt_examples ( UtilGeom.c )
  2. pt_examples ( TestSelect.c )
  3. pt_examples ( UtilCollect.c )
  4. pt_examples ( UtilVisit.c )
  5. pt_geardesign ( GearDesignUtils.c )
  6. pt_userguide ( UgGeomHoleSrfDisp.c )