Category Solids and parts, Object ProPart

Function ProPartToProInterfaceData


Description
Converts a ProPart structure to a ProIntfData structure.
Synopsis
#include <ProIntfData.h>
ProErrorProPartToProInterfaceData(
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.

Manual References:

  1. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0
  2. Interface: Importing Features: Import Feature Properties
  3. Interface: Importing Features: Import Feature Properties
  4. Migrating to the Multibody Environment: Impact on Existing APIs

Sample Code References:

  1. pt_examples ( TestImportfeat.c )