Inheritance diagram for HPS.ExchangeParasolid.File:

Public Member Functions

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

Static Public Member Functions

static HPS.Parasolid.Component AddEntity (HPS.ComponentPath in_path_to_owner, int in_entity, HPS.MatrixKit in_transform, HPS.Parasolid.FacetTessellationKit in_facet_tessellation, HPS.Parasolid.LineTessellationKit in_line_tessellation)
 
static HPS.Parasolid.Component AddEntity (HPS.ComponentPath in_path_to_owner, int in_entity, HPS.MatrixKit in_transform, HPS.Parasolid.FacetTessellationKit in_facet_tessellation)
 
static HPS.Parasolid.Component AddEntity (HPS.ComponentPath in_path_to_owner, int in_entity, HPS.MatrixKit in_transform)
 
static HPS.Parasolid.Component AddEntity (HPS.ComponentPath in_path_to_owner, int in_entity)
 
static HPS.Parasolid.Component AddEntity (HPS.Exchange.CADModel in_owner, int in_entity, HPS.MatrixKit in_transform, HPS.Parasolid.FacetTessellationKit in_facet_tessellation, HPS.Parasolid.LineTessellationKit in_line_tessellation)
 
static HPS.Parasolid.Component AddEntity (HPS.Exchange.CADModel in_owner, int in_entity, HPS.MatrixKit in_transform, HPS.Parasolid.FacetTessellationKit in_facet_tessellation)
 
static HPS.Parasolid.Component AddEntity (HPS.Exchange.CADModel in_owner, int in_entity, HPS.MatrixKit in_transform)
 
static HPS.Parasolid.Component AddEntity (HPS.Exchange.CADModel in_owner, int in_entity)
 
static HPS.ExchangeParasolid.ImportNotifier Import (string in_filename, HPS.Exchange.ImportOptionsKit in_import_options, HPS.Exchange.TranslationOptionsKit in_translation_options, HPS.Parasolid.FacetTessellationKit in_facet_tessellation, HPS.Parasolid.LineTessellationKit in_line_tessellation)
 
static HPS.Exchange.ReloadNotifier Reload (HPS.Exchange.Component in_component, HPS.Exchange.TranslationOptionsKit in_translation_options, HPS.Parasolid.FacetTessellationKit in_facet_tessellation, HPS.Parasolid.LineTessellationKit in_line_tessellation)
 
static HPS.Exchange.ReloadNotifier Reload (HPS.Exchange.CADModel in_cad_model, HPS.Exchange.TranslationOptionsKit in_translation_options, HPS.Parasolid.FacetTessellationKit in_facet_tessellation, HPS.Parasolid.LineTessellationKit in_line_tessellation)
 
static void Tessellate (HPS.Exchange.Component in_component, HPS.Parasolid.FacetTessellationKit in_facet_tessellation, HPS.Parasolid.LineTessellationKit in_line_tessellation)
 
static void Tessellate (HPS.Exchange.CADModel in_cad_model, HPS.Parasolid.FacetTessellationKit in_facet_tessellation, HPS.Parasolid.LineTessellationKit in_line_tessellation)
 

Protected Member Functions

virtual void deleteCptr ()
 

Protected Attributes

bool cMemOwn
 
HandleRef cptr
 

Detailed Description

The File class provides functions to import CAD files via Exchange and manage the BRep data with Parasolid.

Member Function Documentation

◆ AddEntity() [1/8]

static HPS.Parasolid.Component HPS.ExchangeParasolid.File.AddEntity ( HPS.ComponentPath  in_path_to_owner,
int  in_entity,
HPS.MatrixKit  in_transform,
HPS.Parasolid.FacetTessellationKit  in_facet_tessellation,
HPS.Parasolid.LineTessellationKit  in_line_tessellation 
)
inlinestatic

Renders the entity specified, according to the tessellation options provided. Only entities of type PK_CLASS_body can be used with this function. This function is intended to be used with Exchange CADModels. If you wish to add a Parasolid entity to a Parasolid CADModel you should use the Parasolid.CADModel.AddEntity function.

Parameters
in_path_to_ownerThe component path to the location where the entity should be added. [0] should be a PartDefiniton component and in_path_to_owner[n] should be a CADModel component
in_entityThe Parasolid entity to add.
in_transformA matrix to apply to the created Representation Item
in_facet_tessellationThe facet tessellation parameters used during import.
in_line_tessellationThe line tessellation parameters used during import.
Returns
The component created as part of the import of the provided entity. As part of the process of adding an entity, a new Representation Item component will be created under in_path_to_owner[0]. The component referring to the added Parasolid part will be located under this newly created Representation Item component.

◆ AddEntity() [2/8]

static HPS.Parasolid.Component HPS.ExchangeParasolid.File.AddEntity ( HPS.ComponentPath  in_path_to_owner,
int  in_entity,
HPS.MatrixKit  in_transform,
HPS.Parasolid.FacetTessellationKit  in_facet_tessellation 
)
inlinestatic

Renders the entity specified, according to the tessellation options provided. Only entities of type PK_CLASS_body can be used with this function. This function is intended to be used with Exchange CADModels. If you wish to add a Parasolid entity to a Parasolid CADModel you should use the Parasolid.CADModel.AddEntity function.

Parameters
in_path_to_ownerThe component path to the location where the entity should be added. [0] should be a PartDefiniton component and in_path_to_owner[n] should be a CADModel component
in_entityThe Parasolid entity to add.
in_transformA matrix to apply to the created Representation Item
in_facet_tessellationThe facet tessellation parameters used during import.
Returns
The component created as part of the import of the provided entity. As part of the process of adding an entity, a new Representation Item component will be created under in_path_to_owner[0]. The component referring to the added Parasolid part will be located under this newly created Representation Item component.

◆ AddEntity() [3/8]

static HPS.Parasolid.Component HPS.ExchangeParasolid.File.AddEntity ( HPS.ComponentPath  in_path_to_owner,
int  in_entity,
HPS.MatrixKit  in_transform 
)
inlinestatic

Renders the entity specified, according to the tessellation options provided. Only entities of type PK_CLASS_body can be used with this function. This function is intended to be used with Exchange CADModels. If you wish to add a Parasolid entity to a Parasolid CADModel you should use the Parasolid.CADModel.AddEntity function.

Parameters
in_path_to_ownerThe component path to the location where the entity should be added. [0] should be a PartDefiniton component and in_path_to_owner[n] should be a CADModel component
in_entityThe Parasolid entity to add.
in_transformA matrix to apply to the created Representation Item
Returns
The component created as part of the import of the provided entity. As part of the process of adding an entity, a new Representation Item component will be created under in_path_to_owner[0]. The component referring to the added Parasolid part will be located under this newly created Representation Item component.

◆ AddEntity() [4/8]

static HPS.Parasolid.Component HPS.ExchangeParasolid.File.AddEntity ( HPS.ComponentPath  in_path_to_owner,
int  in_entity 
)
inlinestatic

Renders the entity specified, according to the tessellation options provided. Only entities of type PK_CLASS_body can be used with this function. This function is intended to be used with Exchange CADModels. If you wish to add a Parasolid entity to a Parasolid CADModel you should use the Parasolid.CADModel.AddEntity function.

Parameters
in_path_to_ownerThe component path to the location where the entity should be added. [0] should be a PartDefiniton component and in_path_to_owner[n] should be a CADModel component
in_entityThe Parasolid entity to add.
Returns
The component created as part of the import of the provided entity. As part of the process of adding an entity, a new Representation Item component will be created under in_path_to_owner[0]. The component referring to the added Parasolid part will be located under this newly created Representation Item component.

◆ AddEntity() [5/8]

static HPS.Parasolid.Component HPS.ExchangeParasolid.File.AddEntity ( HPS.Exchange.CADModel  in_owner,
int  in_entity,
HPS.MatrixKit  in_transform,
HPS.Parasolid.FacetTessellationKit  in_facet_tessellation,
HPS.Parasolid.LineTessellationKit  in_line_tessellation 
)
inlinestatic

Renders the entity specified, according to the tessellation options provided. Only entities of type PK_CLASS_body can be used with this function. This function is intended to be used with Exchange CADModels. If you wish to add a Parasolid entity to a Parasolid CADModel you should use the Parasolid.CADModel.AddEntity function. If you have not imported a file prior to calling this function, you will need to create a CADModel object through Factory.CreateCADModel and pass it to this function.

Parameters
in_ownerThe CADModel which will own the entity you wish to add.
in_entityThe Parasolid entity to add.
in_transformA matrix to apply to the created Representation Item
in_facet_tessellationThe facet tessellation parameters used during import.
in_line_tessellationThe line tessellation parameters used during import.
Returns
The component created as part of the import of the provided entity. As part of the process of adding an entity, a new Product Occurrence, Part Definition and Representation Item component will be created under the CADModel The component referring to the added Parasolid part will be located under this newly created Representation Item component.

◆ AddEntity() [6/8]

static HPS.Parasolid.Component HPS.ExchangeParasolid.File.AddEntity ( HPS.Exchange.CADModel  in_owner,
int  in_entity,
HPS.MatrixKit  in_transform,
HPS.Parasolid.FacetTessellationKit  in_facet_tessellation 
)
inlinestatic

Renders the entity specified, according to the tessellation options provided. Only entities of type PK_CLASS_body can be used with this function. This function is intended to be used with Exchange CADModels. If you wish to add a Parasolid entity to a Parasolid CADModel you should use the Parasolid.CADModel.AddEntity function. If you have not imported a file prior to calling this function, you will need to create a CADModel object through Factory.CreateCADModel and pass it to this function.

Parameters
in_ownerThe CADModel which will own the entity you wish to add.
in_entityThe Parasolid entity to add.
in_transformA matrix to apply to the created Representation Item
in_facet_tessellationThe facet tessellation parameters used during import.
Returns
The component created as part of the import of the provided entity. As part of the process of adding an entity, a new Product Occurrence, Part Definition and Representation Item component will be created under the CADModel The component referring to the added Parasolid part will be located under this newly created Representation Item component.

◆ AddEntity() [7/8]

static HPS.Parasolid.Component HPS.ExchangeParasolid.File.AddEntity ( HPS.Exchange.CADModel  in_owner,
int  in_entity,
HPS.MatrixKit  in_transform 
)
inlinestatic

Renders the entity specified, according to the tessellation options provided. Only entities of type PK_CLASS_body can be used with this function. This function is intended to be used with Exchange CADModels. If you wish to add a Parasolid entity to a Parasolid CADModel you should use the Parasolid.CADModel.AddEntity function. If you have not imported a file prior to calling this function, you will need to create a CADModel object through Factory.CreateCADModel and pass it to this function.

Parameters
in_ownerThe CADModel which will own the entity you wish to add.
in_entityThe Parasolid entity to add.
in_transformA matrix to apply to the created Representation Item
Returns
The component created as part of the import of the provided entity. As part of the process of adding an entity, a new Product Occurrence, Part Definition and Representation Item component will be created under the CADModel The component referring to the added Parasolid part will be located under this newly created Representation Item component.

◆ AddEntity() [8/8]

static HPS.Parasolid.Component HPS.ExchangeParasolid.File.AddEntity ( HPS.Exchange.CADModel  in_owner,
int  in_entity 
)
inlinestatic

Renders the entity specified, according to the tessellation options provided. Only entities of type PK_CLASS_body can be used with this function. This function is intended to be used with Exchange CADModels. If you wish to add a Parasolid entity to a Parasolid CADModel you should use the Parasolid.CADModel.AddEntity function. If you have not imported a file prior to calling this function, you will need to create a CADModel object through Factory.CreateCADModel and pass it to this function.

Parameters
in_ownerThe CADModel which will own the entity you wish to add.
in_entityThe Parasolid entity to add.
Returns
The component created as part of the import of the provided entity. As part of the process of adding an entity, a new Product Occurrence, Part Definition and Representation Item component will be created under the CADModel The component referring to the added Parasolid part will be located under this newly created Representation Item component.

◆ Import()

static HPS.ExchangeParasolid.ImportNotifier HPS.ExchangeParasolid.File.Import ( string  in_filename,
HPS.Exchange.ImportOptionsKit  in_import_options,
HPS.Exchange.TranslationOptionsKit  in_translation_options,
HPS.Parasolid.FacetTessellationKit  in_facet_tessellation,
HPS.Parasolid.LineTessellationKit  in_line_tessellation 
)
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_filenameThe name of the CAD file to import.
in_import_optionsThe options controlling the import of the CAD file.
in_translation_optionsThe options controlling the translation of the CAD data to Parasolid.
in_facet_tessellationThe options controlling the facet tessellation for the Parasolid data.
in_line_tessellationThe options controlling the line tessellation for the Parasolid data.
Returns
An ImportNotfier object that can be used to query the import progress and status.

◆ Reload() [1/2]

static HPS.Exchange.ReloadNotifier HPS.ExchangeParasolid.File.Reload ( HPS.Exchange.Component  in_component,
HPS.Exchange.TranslationOptionsKit  in_translation_options,
HPS.Parasolid.FacetTessellationKit  in_facet_tessellation,
HPS.Parasolid.LineTessellationKit  in_line_tessellation 
)
inlinestatic

Performs an asynchronous reload of the specified Exchange.Component with the provided options. May throw an IOException prior to starting the asynchronous reload. This function differs from the Exchange.Component.Reload function in that it allows one to specify all Parasolid-related tessellation options, rather than restricting those options to the subset supported by Exchange and Parasolid.

Parameters
in_translation_optionsThe options controlling the translation of the CAD data to Parasolid.
in_facet_tessellationThe options controlling the facet tessellation for the Parasolid data.
in_line_tessellationThe options controlling the line tessellation for the Parasolid data.
Returns
An Exchange.ReloadNotifier object that can be used to query the reload progress and status.

◆ Reload() [2/2]

static HPS.Exchange.ReloadNotifier HPS.ExchangeParasolid.File.Reload ( HPS.Exchange.CADModel  in_cad_model,
HPS.Exchange.TranslationOptionsKit  in_translation_options,
HPS.Parasolid.FacetTessellationKit  in_facet_tessellation,
HPS.Parasolid.LineTessellationKit  in_line_tessellation 
)
inlinestatic

Performs an asynchronous reload of the specified Exchange.CADModel with the provided options. May throw an IOException prior to starting the asynchronous reload. This function differs from the Exchange.CADModel.Reload function in that it allows one to specify all Parasolid-related tessellation options, rather than restricting those options to the subset supported by Exchange and Parasolid.

Parameters
in_translation_optionsThe options controlling the translation of the CAD data to Parasolid.
in_facet_tessellationThe options controlling the facet tessellation for the Parasolid data.
in_line_tessellationThe options controlling the line tessellation for the Parasolid data.
Returns
An Exchange.ReloadNotifier object that can be used to query the reload progress and status.

◆ Tessellate() [1/2]

static void HPS.ExchangeParasolid.File.Tessellate ( HPS.Exchange.Component  in_component,
HPS.Parasolid.FacetTessellationKit  in_facet_tessellation,
HPS.Parasolid.LineTessellationKit  in_line_tessellation 
)
inlinestatic

Re-tessellate the given Exchange.Component with the provided options. Tessellation will occur for Parasolid bodies under the Exchange component, so calling this function on Component objects below that level will have no effect. If this function is invoked on Component objects above that level, e.g., at the product occurrence level, all Parasolid bodies underneath that Component will be re-tessellated with the provided options. This function differs from the Exchange.Component.Tessellate function in that it allows one to specify all Parasolid-related tessellation options, rather than restricting those options to the subset supported by Exchange and Parasolid.

Parameters
in_facet_tessellationThe options controlling the facet tessellation for the Parasolid data.
in_line_tessellationThe options controlling the line tessellation for the Parasolid data.

◆ Tessellate() [2/2]

static void HPS.ExchangeParasolid.File.Tessellate ( HPS.Exchange.CADModel  in_cad_model,
HPS.Parasolid.FacetTessellationKit  in_facet_tessellation,
HPS.Parasolid.LineTessellationKit  in_line_tessellation 
)
inlinestatic

Re-tessellate the given Exchange.CADModel with the provided options. Tessellation will occur for Parasolid bodies. This function differs from the Exchange.Component.Tessellate function in that it allows one to specify all Parasolid-related tessellation options, rather than restricting those options to the subset supported by Exchange and Parasolid.

Parameters
in_facet_tessellationThe options controlling the facet tessellation for the Parasolid data.
in_line_tessellationThe options controlling the line tessellation for the Parasolid data.

The documentation for this class was generated from the following file:
  • internals/hps_sprk_exchange_parasolid/source/cs/HPS.ExchangeParasolid.cs