The File class provides functions to import and export CAD files via the Parasolid interface.
More...
The File class provides functions to import and export CAD files via the Parasolid interface.
Performs a synchronous export of the given CADModel with the provided options to a given filename.
An exception will be thrown if a problem is encountered during export.
- Parameters
-
in_cad_model | The <ref refid="class_h_p_s_1_1_parasolid_1_1_c_a_d_model" kindref="compound">CADModel</ref> containing the data to export. This <ref refid="class_h_p_s_1_1_parasolid_1_1_c_a_d_model" kindref="compound">CADModel</ref> must have come from a CAD file imported via <ref refid="class_h_p_s_1_1_parasolid" kindref="compound">Parasolid</ref>, if it did not, the export will not succeed. |
in_file_name | The name of the file to write the <ref refid="class_h_p_s_1_1_parasolid" kindref="compound">Parasolid</ref> data to. |
in_options | The options controlling the export of the <ref refid="class_h_p_s_1_1_parasolid" kindref="compound">Parasolid</ref> data. |
Performs an asynchronous import of the specified CAD file with the provided options.
May throw an IOException prior to starting the asynchronous import.
- Parameters
-
in_file_name | The name of the CAD file to import. |
in_options | The options controlling the import of the CAD file. |
- Returns
- An ImportNotfier object that can be used to query the import progress and status.
Performs an asynchronous import of the specified entities.
May throw an IOException prior to starting the asynchronous import.
- Parameters
-
in_parts | An array of PK_PART_t entities to import. |
in_facet_options | The options controlling the import of facets in the CAD file. |
in_line_options | The options controlling the import of lines in the CAD file. |
- Returns
- An ImportNotfier object that can be used to query the import progress and status.
The documentation for this class was generated from the following file: