Converts a file from one CAD format to another.
The Transfer Example shows how to perform a conversion between different file formats. Unlike the Import Example and the Export Example we will use all-purpose ModelData_ModelReader and ModelData_ModelWriter to handle import and export from and to any supported format.
The workflow is straightforward: we read model data from one format using Reader into ModelData_Model object, then write it to another format using Writer. Thanks to the universal reader and writer the code remains the same for any input and output formats supported by CAD Exchanger.
As we did with Importing and Exporting we should complete the following steps:
CAD Exchanger SDK provides a lot of packages for model data conversion. It's possible to read, write and transfer almost every existing model data format simply using algorithm described above.
To learn more about conversion possibilities please visit the Converter Details.