Category Solids and parts, Object ProPart

Function ProPartToProIntfData


Description
Converts a ProPart structure to a ProIntfData structure.
Replacement in Object TOOLKIT: wfcWPart::GetInterfaceData
Synopsis
#include <ProIntfData.h>
ProErrorProPartToProIntfData(
ProPart ptk_part
/* (In)
The ProPart data structure.
*/
ProPartConversionOptions* p_cnv_opts
/* (In)
The options for the conversion.
*/
ProIntfData* p_intfdata
/* (Out)
The interface data. You must preallocate the memory for this argument by calling the function ProIntfDataAlloc().
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully converted the ProPart structure.
PRO_TK_OUT_OF_MEMORYInsufficient memory.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
See Also
ProIntfDataAlloc

Manual References:

  1. Interface: Importing Features: Extracting Creo Parametric Geometry as Interface Data
  2. Interface: Importing Features: Extracting Creo Parametric Geometry as Interface Data

Sample Code References:

  1. pt_examples ( TestImportfeat.c )