Category Creo Parametric TOOLKIT fundamentals, Object ProExtdata

Function ProExtdataClassNamesList


Description
Generates a list of all the classes registered for the specified model.
Replacement in Object TOOLKIT: pfcExternalDataAccess::ListClasses
Synopsis
#include <ProExtdata.h>
ProExtdataErrProExtdataClassNamesList(
ProMdl p_model
/* (In)
The model handle
*/
int* r_num_of_classes
/* (Out)
The number of classes in the generated list
*/
ProExtdataNamesList* r_class_names
/* (Out)
The list of all the registered classes
*/
)
Returns
PROEXTDATA_TK_NO_ERRORThe function successfully created a list of all the classes.
PROEXTDATA_TK_ERRORThe function failed.
PROEXTDATA_TK_INVALID_OBJ_OR_CLASSThe specified model 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 ( TestAnalysis.c )
  2. pt_userguide ( UgExtAnalysisSurfcsys.c )