Library | Module

Class pfcExternalDataAccess



Description

Object that represents a conduit to the external data stored in the Creo Parametric file.

To make the external data available for the next session of Creo Parametric save the model.
Direct Parent Classes:
pfcChild



Method Summary

pfcExternalDataClassCreateClass (string Name)
Creates a class in the model's external data.
booleanIsValid ()
Returns true if this object is still valid for this model, false if access has been terminated
pfcExternalDataClassesListClasses ()
Lists all of the external data classes for the model
voidLoadAll ()
Loads all of the model's external data into memory.
voidReleaseDataBuffer (pfcExternalData data)
Frees the memory allocated for data buffer.



Method Detail


pfcExternalDataClassCreateClass (string Name)

Creates a class in the model's external data.

Exceptions thrown (but not limited to):

pfcXExternalDataTKError - The function failed.

pfcXExternalDataInvalidObject - The specified model or class name is invalid.

pfcXExternalDataClassOrSlotExists - The specified class name already exists.

pfcXExternalDataNamesTooLong - The specified class name exceeds the length 32.

pfcXBadExternalData - Data access object is no longer valid


Parameters:
Name
Name for the class. This must be unique, and typically reflects the name and/or purpose ofthe application.
Returns:
Object representing the new external data class.



booleanIsValid ()

Returns true if this object is still valid for this model, false if access has been terminated
Returns:
The status



pfcExternalDataClassesListClasses ()

Lists all of the external data classes for the model

Exceptions thrown (but not limited to):

pfcXExternalDataTKError - The function failed.

pfcXExternalDataInvalidObject - The specified model is invalid.

pfcXBadExternalData - Data access object is no longer valid


Returns:
Sequence of class objects.



voidLoadAll ()

Loads all of the model's external data into memory.

Using this method can improve the performance of reading the model data.

Exceptions thrown (but not limited to):

pfcXExternalDataTKError - The function failed.

pfcXExternalDataInvalidObject - The specified model is invalid.

pfcXBadExternalData - Data access object is no longer valid





voidReleaseDataBuffer (pfcExternalData data)

Frees the memory allocated for data buffer.
Parameters:
data