Category Creo Parametric TOOLKIT fundamentals, Object ProExtdata

Function ProExtdataSlotIdsList


Description
Generates a list of all the slot identifiers for the specified class.
Replacement in Object TOOLKIT: pfcExternalDataClass::ListSlots
Synopsis
#include <ProExtdata.h>
ProExtdataErrProExtdataSlotIdsList(
ProExtdataClass* p_extclass
/* (In)
The class handle
*/
int* r_num_of_slots
/* (Out)
The number of slots in the class
*/
ProExtdataIdsList* r_slot_ids
/* (Out)
The list of slots identifiers for the class
*/
)
Returns
PROEXTDATA_TK_NO_ERRORThe function successfully created a list of all the slot identifiers.
PROEXTDATA_TK_ERRORThe function failed.
PROEXTDATA_TK_INVALID_OBJ_OR_CLASSThe specified model is invalid.
PROEXTDATA_TK_BAD_DATA_ARGSThe argument r_slot_ids is invalid.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: External Data: Retrieving External Data
  3. Core: External Data: Retrieving External Data

Sample Code References:

  1. pt_examples ( TestGenedata.c )
  2. pt_examples ( TestGenedata.c )