Category Creating import and custom geometry, Object ProIntf

Function ProIntfDataSurfaceGet


Description
Gets the specified surface from the interface data.
Synopsis
#include <ProIntfData.h>
ProErrorProIntfDataSurfaceGet(
ProIntfData* p_intfdata
/* (In)
The interface data
*/
int index
/* (In)
The index (from 0 to (number - 1) of the surface in the interface data
*/
ProSurfacedata** pp_surfdata
/* (Out)
The surface. Release the memory using ProSurfacedataMemoryFree
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully found the surface.
PRO_TK_OUT_OF_MEMORYInsufficient memory.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Interface: Importing Features: Import Feature Properties

Sample Code References:

  1. pt_examples ( TestImportfeat.c )
  2. pt_examples ( UtilIntfData.c )