Inheritance diagram for HPS.Parasolid.File:

Public Member Functions

virtual void Dispose ()
 
File (HPS.Parasolid.File in_that)
 

Static Public Member Functions

static void Export (HPS.Parasolid.CADModel in_cad_model, string in_file_name, HPS.Parasolid.ExportOptionsKit in_options)
 
static HPS.Parasolid.ImportNotifier Import (string in_file_name, HPS.Parasolid.ImportOptionsKit in_options)
 
static HPS.Parasolid.ImportNotifier Import (int[] in_parts, HPS.Parasolid.FacetTessellationKit in_facet_options, HPS.Parasolid.LineTessellationKit in_line_options)
 

Protected Member Functions

virtual void deleteCptr ()
 

Protected Attributes

bool cMemOwn
 
HandleRef cptr
 

Detailed Description

The File class provides functions to import and export CAD files via the Parasolid interface.

Member Function Documentation

◆ Export()

static void HPS.Parasolid.File.Export ( HPS.Parasolid.CADModel  in_cad_model,
string  in_file_name,
HPS.Parasolid.ExportOptionsKit  in_options 
)
inlinestatic

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_modelThe CADModel containing the data to export. This CADModel must have come from a CAD file imported via Parasolid, if it did not, the export will not succeed.
in_file_nameThe name of the file to write the Parasolid data to.
in_optionsThe options controlling the export of the Parasolid data.

◆ Import() [1/2]

static HPS.Parasolid.ImportNotifier HPS.Parasolid.File.Import ( string  in_file_name,
HPS.Parasolid.ImportOptionsKit  in_options 
)
inlinestatic

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_nameThe name of the CAD file to import.
in_optionsThe options controlling the import of the CAD file.
Returns
An ImportNotfier object that can be used to query the import progress and status.

◆ Import() [2/2]

static HPS.Parasolid.ImportNotifier HPS.Parasolid.File.Import ( int []  in_parts,
HPS.Parasolid.FacetTessellationKit  in_facet_options,
HPS.Parasolid.LineTessellationKit  in_line_options 
)
inlinestatic

Performs an asynchronous import of the specified entities. May throw an IOException prior to starting the asynchronous import.

Parameters
in_partsAn array of PK_PART_t entities to import.
in_facet_optionsThe options controlling the import of facets in the CAD file.
in_line_optionsThe 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:
  • internals/hps_sprk_parasolid/source/cs/HPS.Parasolid.cs