User's Guide > External Data > External Data > Accessing External Data
Accessing External Data
Methods Introduced:
The method pfcModel.AccessExternalData() prepares Creo Parametric to read external data from the model file. It returns the pfcExternalDataAccess object that is used to read and write data. This method should be called only once for any given model in session.
The method pfcModel.TerminateExternalData() stops Creo Parametric from accessing external data in a model. When you use this method all external data in the model is removed. Permanent removal occurs when the model is saved.
* 
If you need to preserve the external data created in session, you must save the model before calling this function. Otherwise, your data is lost.
The method pfcExternalDataAccess.IsValid() determines if the pfcExternalDataAccess object can be used to read and write data.
Was this helpful?