User's Guide > Interface > Interface
Interface
This section describes various methods of importing and exporting files in Creo.JS.
Exporting Files and 2D Models
Method Introduced:
The method pfcModel.Export() exports model data to a file. The exported files are placed in the current Creo Parametric working directory. The input parameters are:
FileName—Output file name including extensions
ExportData—The pfcExportInstructions object that controls the export operation. The type of data that is exported is given by the pfcExportType object.
There are four general categories of files to which you can export models:
File types whose instructions inherit from pfcGeomExportInstructions.
These instructions export files that contain precise geometric information used by other CAD systems.
File types whose instructions inherit from pfcCoordSysExportInstructions.
These instructions export files that contain coordinate information describing faceted, solid models (without datums and surfaces).
File types whose instructions inherit from pfcFeatIdExportInstructions.
These instructions export information about a specific feature.
General file types that inherit only from pfcExportInstructions.
These instructions provide conversions to file types such as BOM (bill of materials).
For information on exporting to a specific format, see the Creo.JS APIWizard and online help for the Creo Parametric interface.
Was this helpful?