Library | Module

Class pfcExternalDataSlot



Description

Represents a single data item stored in external data
Direct Parent Classes:
pfcObject



Property Summary

/* readonly */ pfcExternalDataClassClass
Class to which slot belongs
/* readonly */ numberId
Unique identifier assigned by Creo Parametric
/* readonly */  /* optional */ stringName
Slot name. Slots created using Creo Parametric TOOLKIT may not have a separate name.
pfcExternalDataValue
The value (integer, double, or string) stored in the slot. Stream-type slots created byCreo Parametric TOOLKIT cannot be accessed by this attribute and an pfcXBadExternalDataexception will result.



Method Summary

voidDelete ()
Deletes the external data slot
booleanIsValid ()
Returns true if the slot exists and can be accessed, false if it has been deleted.



Property Detail


/* readonly */ pfcExternalDataClassClass

Class to which slot belongs

Exceptions thrown (but not limited to):

pfcXBadExternalData - Slot is no longer valid






/* readonly */ numberId

Unique identifier assigned by Creo Parametric

Exceptions thrown (but not limited to):

pfcXBadExternalData - Slot is no longer valid






/* readonly */  /* optional */ stringName

Slot name. Slots created using Creo Parametric TOOLKIT may not have a separate name.

Exceptions thrown (but not limited to):

pfcXBadExternalData - Slot is no longer valid






pfcExternalDataValue

The value (integer, double, or string) stored in the slot. Stream-type slots created byCreo Parametric TOOLKIT cannot be accessed by this attribute and an pfcXBadExternalDataexception will result.

Exceptions thrown (but not limited to):

pfcXExternalDataTKError - The function failed.

pfcXExternalDataInvalidObject - The model or class name is invalid.

pfcXExternalDataBadKeyByFlag - The 'key by flag' is invalid.

pfcXExternalDataSlotNotFound - The slot was not found.

pfcXExternalDataStreamTooLarge - The stream data size is greater than 524288 bytes.

pfcXExternalDataBadDataArgs - The data type or data size is invalid.

pfcXExternalDataEmptySlot - No data exists in the slot.

pfcXBadExternalData - Slot is no longer valid







Method Detail


voidDelete ()

Deletes the external data slot

Permanently deletes the slot and the data it contains.

Exceptions thrown (but not limited to):

pfcXExternalDataTKError - The function failed.

pfcXExternalDataInvalidObject - The model or class name is invalid.

pfcXExternalDataBadKeyByFlag - The 'key by flag' is invalid.

pfcXExternalDataSlotNotFound - The slot was not found.

pfcXBadExternalData - Slot is no longer valid





booleanIsValid ()

Returns true if the slot exists and can be accessed, false if it has been deleted.
Returns:
The status of the slot