Category Creo Parametric TOOLKIT fundamentals, Object ProExtdata

Function ProExtdataSlotDelete


Description
Deletes the specified data slot.
Replacement in Object TOOLKIT: pfcExternalDataSlot::Delete
Synopsis
#include <ProExtdata.h>
ProExtdataErrProExtdataSlotDelete(
ProExtdataSlot* p_extslot
/* (In)
The handle to the data slot
*/
int key_by_flag
/* (In)
The key-by flag -- either KEY_BY_ID or KEY_BY_NAME
*/
)
Returns
PROEXTDATA_TK_NO_ERRORThe function successfully deleted the slot.
PROEXTDATA_TK_ERRORThe function failed.
PROEXTDATA_TK_INVALID_OBJ_OR_CLASSThe specified model or class name is invalid.
PROEXTDATA_TK_BAD_KEY_BY_FLAGThe specified key_by_flag is invalid.
PROEXTDATA_TK_SLOT_NOT_FOUNDThe specified slot was not found.

Manual References:

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

Sample Code References:

  1. pt_examples ( TestGenedata.c )