API Documentation > Geometry items > Object ProSurface > Function ProSurfaceToGeomitem
Function ProSurfaceToGeomitem
Description
Converts a ProSurface handle to its ProGeomitem handle.
Synopsis
#include <ProGeomitem.h>
ProSurfaceToGeomitem
(
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
The function successfully converted the surface handle to its geometry item handle.
One or more of the input arguments are invalid.
Sample Code References
Was this helpful?