More...

Inheritance diagram for HPS.Exchange.File:

Public Types

enum  Format {
  Format.Unsupported = 0, Format.ACIS = 1, Format.CADDS = 2, Format.CATIAV4 = 3,
  Format.CATIAV5 = 4, Format.CGR = 5, Format.COLLADA = 6, Format.CreoProE = 7,
  Format.IDEAS = 8, Format.IFC = 9, Format.IGES = 10, Format.Inventor = 11,
  Format.JT = 12, Format.KeyholeMarkupLanguage = 13, Format.LatticeXVL = 14, Format.OneSpaceDesigner = 15,
  Format.Parasolid = 16, Format.PDF = 17, Format.PRC = 18, Format.Rhino = 19,
  Format.NXUnigraphics = 20, Format.SolidEdge = 21, Format.SolidWorks = 22, Format.STEP = 23,
  Format.StereoLithography = 24, Format.ThreeDStudioMax = 25, Format.ThreeDXML = 26, Format.Universal3D = 27,
  Format.VDAFS = 28, Format.VRML = 29, Format.WavefrontObject = 30
}
 Enumerates the formats Exchange can recognize. More...
 

Public Member Functions

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

Static Public Member Functions

static HPS.Exchange.ExportNotifier Export3MF (HPS.Exchange.CADModel in_cad_model, string in_file_name, HPS.Exchange.Export3MFOptionsKit in_options)
 Performs an asynchronous 3MF 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. More...
 
static HPS.Exchange.ExportNotifier Export3MF (HPS.KeyPath[] in_source, string in_file_name, HPS.Exchange.Export3MFOptionsKit in_options)
 Performs an asynchronous 3MF 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. More...
 
static HPS.Exchange.ExportNotifier Export3MF (HPS.KeyPath in_source, string in_file_name, HPS.Exchange.Export3MFOptionsKit in_options)
 Performs an asynchronous 3MF 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. More...
 
static void ExportACIS (HPS.Exchange.CADModel in_cad_model, string in_file_name, HPS.Exchange.ExportACISOptionsKit in_options)
 Performs a synchronous ACIS 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. More...
 
static void ExportIGES (HPS.Exchange.CADModel in_cad_model, string in_file_name, HPS.Exchange.ExportIGESOptionsKit in_options)
 Performs a synchronous IGES 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. More...
 
static void ExportJT (HPS.Exchange.CADModel in_cad_model, string in_file_name, HPS.Exchange.ExportJTOptionsKit in_options)
 Performs a synchronous JT 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. More...
 
static void ExportParasolid (HPS.Exchange.CADModel in_cad_model, string in_file_name, HPS.Exchange.ExportParasolidOptionsKit in_options)
 Performs a synchronous Parasolid 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. More...
 
static HPS.Exchange.ExportNotifier ExportPRC (HPS.Exchange.CADModel in_cad_model, string in_file_name, HPS.Exchange.ExportPRCOptionsKit in_options)
 Performs an asynchronous PRC 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. More...
 
static HPS.Exchange.ExportNotifier ExportPRC (HPS.KeyPath[] in_source, string in_file_name, bool in_compress_tessellation)
 Performs an asynchronous PRC export from an A3DAsmModelFile created from a KeyPathArray. More...
 
static HPS.Exchange.ExportNotifier ExportPRC (HPS.KeyPath[] in_source, string in_file_name)
 Performs an asynchronous PRC export from an A3DAsmModelFile created from a KeyPathArray. More...
 
static HPS.Exchange.ExportNotifier ExportPRC (HPS.KeyPath in_source, string in_file_name, bool in_compress_tessellation)
 Performs an asynchronous PRC export from an A3DAsmModelFile created from a KeyPath. More...
 
static HPS.Exchange.ExportNotifier ExportPRC (HPS.KeyPath in_source, string in_file_name)
 Performs an asynchronous PRC export from an A3DAsmModelFile created from a KeyPath. More...
 
static HPS.Exchange.ExportNotifier ExportPRC (HPS.KeyPath[] in_source)
 Performs an asynchronous creation of an A3DAsmModelFile from a KeyPathArray. More...
 
static HPS.Exchange.ExportNotifier ExportPRC (HPS.KeyPath in_source)
 Performs an asynchronous creation of an A3DAsmModelFile from a KeyPath. More...
 
static void ExportSTEP (HPS.Exchange.CADModel in_cad_model, string in_file_name, HPS.Exchange.ExportSTEPOptionsKit in_options)
 Performs a synchronous STEP 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. More...
 
static void ExportSTL (HPS.Exchange.CADModel in_cad_model, string in_file_name, HPS.Exchange.ExportSTLOptionsKit in_options)
 Performs a synchronous STL 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. More...
 
static void ExportU3D (HPS.Exchange.CADModel in_cad_model, string in_file_name, HPS.Exchange.ExportU3DOptionsKit in_options)
 Performs a synchronous U3D 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. More...
 
static void ExportVRML (HPS.Exchange.CADModel in_cad_model, string in_file_name)
 Performs a synchronous VRML 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. More...
 
static void ExportXML (HPS.Exchange.CADModel in_cad_model, string in_file_name, HPS.Exchange.ExportXMLOptionsKit in_options)
 Performs a synchronous XML 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. More...
 
static HPS.Exchange.Configuration[] GetConfigurations (string in_file_name)
 Gets a list of configurations for the given file (if any). It should be called prior to Import if a file has configurations and the user wants or needs to specify the configuration to import and requires a list of the available configurations. If there are configurations, the function will return an array which has been populated with the list of configurations. If there are no configurations, the function will return an empty array. May throw an IOException if a problem is encountered when querying the configurations. More...
 
static HPS.Exchange.File.Format GetFormat (string in_file_name)
 Gets the format for the given file as determined by Exchange. May throw an IOException if a problem is encountered when querying the format. More...
 
static void GetInformation (string in_file_name, out HPS.Exchange.File.Format out_format, out string out_model_name, out string out_version, out string out_author, out string out_organization, out string out_time_stamp)
 
static HPS.ImageKit GetThumbnailImage (string in_file_name)
 
static HPS.Exchange.ImportNotifier Import (string in_file_name, HPS.Exchange.ImportOptionsKit in_options)
 Performs an asynchronous import of the specified CAD file with the provided options. May throw an IOException prior to starting the asynchronous import. Note that if the import is successful, the CADModel created from this import will own its associated A3DAsmModelFile (see Exchange.CADModel.GetEntityOwnership for more details). More...
 
static HPS.Exchange.ImportNotifier Import (IntPtr in_model_file, HPS.Exchange.ModelFileImportOptionsKit in_options)
 Performs an asynchronous import of the specified A3DAsmModelFile with the provided options. May throw an IOException prior to starting the asynchronous import. Note that if the import is successful, the CADModel created from this import will not own its associated A3DAsmModelFile (see Exchange.CADModel.GetEntityOwnership for more details). More...
 
static HPS.Exchange.ImportNotifier Import (byte[] in_prc_data, HPS.Exchange.ModelFileImportOptionsKit in_options)
 Performs an asynchronous import of the specified PRC data with the provided options. May throw an IOException prior to starting the asynchronous import. Note that if the import is successful, the CADModel created from this import will own its associated A3DAsmModelFile (see Exchange.CADModel.GetEntityOwnership for more details). More...
 
static
HPS.Exchange.TranslationNotifier 
Translate (string in_file_name, HPS.Exchange.ImportOptionsKit in_options, HPS.Exchange.TranslationOptionsKit in_translation_options)
 Asynchronously translates the specified CAD files into an array of Parasolid parts, using the options provided. A valid Parasolid session is required for this function to succeed. More...
 

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 Exchange.

Member Enumeration Documentation

Enumerates the formats Exchange can recognize.

Enumerator
Unsupported 

Format cannot be imported via Exchange.

ACIS 

ACIS file (A3DEModellerType::kA3DModellerAcis).

CADDS 

CADDS file (A3DEModellerType::kA3DModellerCadds). This format requires the "From The Vault" libraries to import.

CATIAV4 

CATIA V4 file (A3DEModellerType::kA3DModellerCatia).

CATIAV5 

CATIA V5 file (A3DEModellerType::kA3DModellerCatiaV5).

CGR 

CATIA Graphical Represenation file (A3DEModellerType::kA3DModellerCgr).

COLLADA 

COLLADA (DAE) file (A3DEModellerType::kA3DModellerDAE). This format requires the "From The Vault" libraries to import.

CreoProE 

Creo (Pro/E) file (A3DEModellerType::kA3DModellerProE).

IDEAS 

I-DEAS file (A3DEModellerType::kA3DModellerIdeas).

IFC 

Industry Foundation Classes (IFC) file (A3DEModellerType::kA3DModellerIFC).

IGES 

IGES file (A3DEModellerType::kA3DModellerIges).

Inventor 

Autodesk Inventor file (A3DEModellerType::kA3DModellerInventor).

JT 

JT file (A3DEModellerType::kA3DModellerJt).

KeyholeMarkupLanguage 

Keyhole Markup Language (KMZ) file (A3DEModellerType::kA3DModellerKMZ). This format requires the "From The Vault" libraries.

LatticeXVL 

Lattice XVL file (A3DEModellerType::kA3DModellerXvl). This format requires the "From The Vault" libraries to import.

OneSpaceDesigner 

OneSpace Designer file (A3DEModellerType::kA3DModellerOneSpaceDesigner). This format requires the "From The Vault" libraries to import.

Parasolid 

Parasolid file (A3DEModellerType::kA3DModellerParasolid).

PDF 

PDF file (A3DEModellerType::kA3DModellerPDF). PRC or U3D data stored inside the PDF can be imported.

PRC 

Product Representation Compact (PRC) file (A3DEModellerType::kA3DModellerPrc).

Rhino 

Rhinocerous 3D file (A3DEModellerType::kA3DModellerRhino).

NXUnigraphics 

NX (Unigraphics) file (A3DEModellerType::kA3DModellerUnigraphics).

SolidEdge 

Solid Edge file (A3DEModellerType::kA3DModellerSE).

SolidWorks 

SolidWorks file (A3DEModellerType::kA3DModellerSlw).

STEP 

STEP file (A3DEModellerType::kA3DModellerStep).

StereoLithography 

Stereo Lithography (STL) file (A3DEModellerType::kA3DModellerStl).

ThreeDStudioMax 

Autodesk 3D Studio Max file (A3DEModellerType::kA3DModeller3DS). This format requires the "From The Vault" libraries to import.

ThreeDXML 

3DXML file (A3DEModellerType::kA3DModeller3dxml).

Universal3D 

Universal 3D (U3D) file (A3DEModellerType::kA3DModellerU3D).

VDAFS 

VDA-FS file (A3DEModellerType::kA3DModellerVda).

VRML 

VRML file (A3DEModellerType::kA3DModellerWrl).

WavefrontObject 

Wavefront Object (OBJ) file (A3DEModellerType::kA3DModellerOBJ). This format requires the "From The Vault" libraries to import.

Member Function Documentation

static HPS.Exchange.ExportNotifier HPS.Exchange.File.Export3MF ( HPS.Exchange.CADModel  in_cad_model,
string  in_file_name,
HPS.Exchange.Export3MFOptionsKit  in_options 
)
inlinestatic

Performs an asynchronous 3MF 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 Exchange, if it did not, the export will not succeed.
in_file_nameThe name of the file to write the 3MF data to.
in_optionsThe options controlling the export of the 3MF data.
static HPS.Exchange.ExportNotifier HPS.Exchange.File.Export3MF ( HPS.KeyPath[]  in_source,
string  in_file_name,
HPS.Exchange.Export3MFOptionsKit  in_options 
)
inlinestatic

Performs an asynchronous 3MF 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_sourceAn array of key paths containing the data to export. The geometry and segments under these key paths will be used to create the A3DAsmModelFile to export as 3MF.
in_file_nameThe name of the file to write the 3MF data to.
in_optionsThe options controlling the export of the 3MF data.
Returns
    An ExportNotfier object that can be used to query the export progress and status.
static HPS.Exchange.ExportNotifier HPS.Exchange.File.Export3MF ( HPS.KeyPath  in_source,
string  in_file_name,
HPS.Exchange.Export3MFOptionsKit  in_options 
)
inlinestatic

Performs an asynchronous 3MF 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_sourceA key path containing the data to export. The geometry and segments under this key path will be used to create the A3DAsmModelFile to export as 3MF.
in_file_nameThe name of the file to write the 3MF data to.
in_optionsThe options controlling the export of the 3MF data.
Returns
    An ExportNotfier object that can be used to query the export progress and status.
static void HPS.Exchange.File.ExportACIS ( HPS.Exchange.CADModel  in_cad_model,
string  in_file_name,
HPS.Exchange.ExportACISOptionsKit  in_options 
)
inlinestatic

Performs a synchronous ACIS 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 Exchange, if it did not, the export will not succeed.
in_file_nameThe name of the file to write the ACIS data to.
in_optionsThe options controlling the export of the ACIS data.
static void HPS.Exchange.File.ExportIGES ( HPS.Exchange.CADModel  in_cad_model,
string  in_file_name,
HPS.Exchange.ExportIGESOptionsKit  in_options 
)
inlinestatic

Performs a synchronous IGES 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 Exchange, if it did not, the export will not succeed.
in_file_nameThe name of the file to write the IGES data to.
in_optionsThe options controlling the export of the IGES data.
static void HPS.Exchange.File.ExportJT ( HPS.Exchange.CADModel  in_cad_model,
string  in_file_name,
HPS.Exchange.ExportJTOptionsKit  in_options 
)
inlinestatic

Performs a synchronous JT 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 Exchange, if it did not, the export will not succeed.
in_file_nameThe name of the file to write the JT data to.
in_optionsThe options controlling the export of the JT data.
static void HPS.Exchange.File.ExportParasolid ( HPS.Exchange.CADModel  in_cad_model,
string  in_file_name,
HPS.Exchange.ExportParasolidOptionsKit  in_options 
)
inlinestatic

Performs a synchronous Parasolid 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 Exchange, 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.
static HPS.Exchange.ExportNotifier HPS.Exchange.File.ExportPRC ( HPS.Exchange.CADModel  in_cad_model,
string  in_file_name,
HPS.Exchange.ExportPRCOptionsKit  in_options 
)
inlinestatic

Performs an asynchronous PRC 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 Exchange, if it did not, the export will not succeed.
in_file_nameThe name of the file to write the PRC data to.
in_optionsThe options controlling the export of the PRC data.
Returns
    An ExportNotfier object that can be used to query the export progress and status.
static HPS.Exchange.ExportNotifier HPS.Exchange.File.ExportPRC ( HPS.KeyPath[]  in_source,
string  in_file_name,
bool  in_compress_tessellation 
)
inlinestatic

Performs an asynchronous PRC export from an A3DAsmModelFile created from a KeyPathArray.

Parameters
in_sourceAn array of key paths containing the data to export. The geometry and segments under these key paths will be used to create the A3DAsmModelFile to export as PRC.
in_file_nameThe name of the file to write the PRC data to.
in_compress_tessellationWhether to compress the tessellation data in the PRC data. Defaults to false.
Returns
    An ExportNotfier object that can be used to query the export progress and status.
static HPS.Exchange.ExportNotifier HPS.Exchange.File.ExportPRC ( HPS.KeyPath[]  in_source,
string  in_file_name 
)
inlinestatic

Performs an asynchronous PRC export from an A3DAsmModelFile created from a KeyPathArray.

Parameters
in_sourceAn array of key paths containing the data to export. The geometry and segments under these key paths will be used to create the A3DAsmModelFile to export as PRC.
in_file_nameThe name of the file to write the PRC data to.
Returns
    An ExportNotfier object that can be used to query the export progress and status.
static HPS.Exchange.ExportNotifier HPS.Exchange.File.ExportPRC ( HPS.KeyPath  in_source,
string  in_file_name,
bool  in_compress_tessellation 
)
inlinestatic

Performs an asynchronous PRC export from an A3DAsmModelFile created from a KeyPath.

Parameters
in_sourceAn array of key paths containing the data to export. The geometry and segments under these key paths will be used to create the A3DAsmModelFile to export as PRC.
in_file_nameThe name of the file to write the PRC data to.
in_compress_tessellationWhether to compress the tessellation data in the PRC data. Defaults to false.
Returns
    An ExportNotfier object that can be used to query the export progress and status.
static HPS.Exchange.ExportNotifier HPS.Exchange.File.ExportPRC ( HPS.KeyPath  in_source,
string  in_file_name 
)
inlinestatic

Performs an asynchronous PRC export from an A3DAsmModelFile created from a KeyPath.

Parameters
in_sourceAn array of key paths containing the data to export. The geometry and segments under these key paths will be used to create the A3DAsmModelFile to export as PRC.
in_file_nameThe name of the file to write the PRC data to.
Returns
    An ExportNotfier object that can be used to query the export progress and status.
static HPS.Exchange.ExportNotifier HPS.Exchange.File.ExportPRC ( HPS.KeyPath[]  in_source)
inlinestatic

Performs an asynchronous creation of an A3DAsmModelFile from a KeyPathArray.

Parameters
in_sourceAn array of key paths containing the data to export. The geometry and segments under these key paths will be used to create the A3DAsmModelFile.
Returns
    An ExportNotfier object that can be used to query the export progress and status.
static HPS.Exchange.ExportNotifier HPS.Exchange.File.ExportPRC ( HPS.KeyPath  in_source)
inlinestatic

Performs an asynchronous creation of an A3DAsmModelFile from a KeyPath.

Parameters
in_sourceA key path containing the data to export. The geometry and segments under these key paths will be used to create the A3DAsmModelFile.
Returns
    An ExportNotfier object that can be used to query the export progress and status.
static void HPS.Exchange.File.ExportSTEP ( HPS.Exchange.CADModel  in_cad_model,
string  in_file_name,
HPS.Exchange.ExportSTEPOptionsKit  in_options 
)
inlinestatic

Performs a synchronous STEP 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 Exchange, if it did not, the export will not succeed.
in_file_nameThe name of the file to write the STEP data to.
in_optionsThe options controlling the export of the STEP data.
static void HPS.Exchange.File.ExportSTL ( HPS.Exchange.CADModel  in_cad_model,
string  in_file_name,
HPS.Exchange.ExportSTLOptionsKit  in_options 
)
inlinestatic

Performs a synchronous STL 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 Exchange, if it did not, the export will not succeed.
in_file_nameThe name of the file to write the STL data to.
in_optionsThe options controlling the export of the STL data.
static void HPS.Exchange.File.ExportU3D ( HPS.Exchange.CADModel  in_cad_model,
string  in_file_name,
HPS.Exchange.ExportU3DOptionsKit  in_options 
)
inlinestatic

Performs a synchronous U3D 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 Exchange, if it did not, the export will not succeed.
in_file_nameThe name of the file to write the U3D data to.
in_optionsThe options controlling the export of the U3D data.
static void HPS.Exchange.File.ExportVRML ( HPS.Exchange.CADModel  in_cad_model,
string  in_file_name 
)
inlinestatic

Performs a synchronous VRML 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 Exchange, if it did not, the export will not succeed.
in_file_nameThe name of the file to write the VRML data to.
static void HPS.Exchange.File.ExportXML ( HPS.Exchange.CADModel  in_cad_model,
string  in_file_name,
HPS.Exchange.ExportXMLOptionsKit  in_options 
)
inlinestatic

Performs a synchronous XML 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 Exchange, if it did not, the export will not succeed.
in_file_nameThe name of the file to write the XML data to.
in_optionsThe options controlling the export of the XML data.
static HPS.Exchange.Configuration [] HPS.Exchange.File.GetConfigurations ( string  in_file_name)
inlinestatic

Gets a list of configurations for the given file (if any). It should be called prior to Import if a file has configurations and the user wants or needs to specify the configuration to import and requires a list of the available configurations. If there are configurations, the function will return an array which has been populated with the list of configurations. If there are no configurations, the function will return an empty array. May throw an IOException if a problem is encountered when querying the configurations.

static HPS.Exchange.File.Format HPS.Exchange.File.GetFormat ( string  in_file_name)
inlinestatic

Gets the format for the given file as determined by Exchange. May throw an IOException if a problem is encountered when querying the format.

static HPS.Exchange.ImportNotifier HPS.Exchange.File.Import ( string  in_file_name,
HPS.Exchange.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. Note that if the import is successful, the CADModel created from this import will own its associated A3DAsmModelFile (see Exchange.CADModel.GetEntityOwnership for more details).

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.
static HPS.Exchange.ImportNotifier HPS.Exchange.File.Import ( IntPtr  in_model_file,
HPS.Exchange.ModelFileImportOptionsKit  in_options 
)
inlinestatic

Performs an asynchronous import of the specified A3DAsmModelFile with the provided options. May throw an IOException prior to starting the asynchronous import. Note that if the import is successful, the CADModel created from this import will not own its associated A3DAsmModelFile (see Exchange.CADModel.GetEntityOwnership for more details).

Parameters
in_model_fileThe A3DAsmModelFile to import.
in_optionsThe options controlling the import of the CAD file. Whether these options will have any effect depends on how the A3DAsmModelFile was created.
Returns
    An ImportNotfier object that can be used to query the import progress and status.
static HPS.Exchange.ImportNotifier HPS.Exchange.File.Import ( byte[]  in_prc_data,
HPS.Exchange.ModelFileImportOptionsKit  in_options 
)
inlinestatic

Performs an asynchronous import of the specified PRC data with the provided options. May throw an IOException prior to starting the asynchronous import. Note that if the import is successful, the CADModel created from this import will own its associated A3DAsmModelFile (see Exchange.CADModel.GetEntityOwnership for more details).

Parameters
in_prc_dataBuffer of PRC data to import.
in_optionsThe options controlling the import of the CAD file. Whether these options will have any effect depends on what is contained in the PRC data.
Returns
    An ImportNotfier object that can be used to query the import progress and status.
static HPS.Exchange.TranslationNotifier HPS.Exchange.File.Translate ( string  in_file_name,
HPS.Exchange.ImportOptionsKit  in_options,
HPS.Exchange.TranslationOptionsKit  in_translation_options 
)
inlinestatic

Asynchronously translates the specified CAD files into an array of Parasolid parts, using the options provided. A valid Parasolid session is required for this function to succeed.

Parameters
in_file_nameThe name of the CAD file to translate.
in_optionsThe options controlling the translation of the CAD file.
in_translation_optionsOptions used during the translation.
Returns
    An TranslationNotifier 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_exchange/source/cs/HPS.Exchange.cs