Category Solids and parts, Object ProPart

Function ProPartToProIntfData


DEPRECATED: Since Creo 7.0
SUPERSEDED BY: ProPartToProInterfaceData
Description
Converts a ProPart structure to a ProIntfData structure.
Note: This API will not work on solid having more than one body. Use ProPartToProInterfaceData() for multi-body parts.
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.
PRO_TK_MULTIBODY_UNSUPPORTEDPart with more than one body.
See Also
ProIntfDataAlloc

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. Migrating to the Multibody Environment: Impact on Existing APIs