ProeImporter Class

class NXOpen.ProeImporter

Bases: NXOpen.Builder

Represents a NXOpen.ProeImporter to be used when importing the ProE Data This class is created using NXOpen.DexManager.

NULL object will be returned from Commit() To create a new instance of this class, use NXOpen.DexManager.CreateProeImporter()

Default values.

Property Value
HealBodies 0
ImportTo WorkPart
ImportToTeamcenter 0
IncludeNonManifoldObj 0
Optimize 0
SimplifyGeometry 0

New in version NX6.0.0.

Properties

Property Description
HealBodies Returns or sets the heal bodies - if set to true then imported data will be healed
ImportTo Returns or sets the import to.
ImportToTeamcenter Returns or sets the import to Teamcenter - if set to true then imported data can be added to Teamcenter
IncludeNonManifoldObj Returns or sets the include non manifold obj - if set to true then non-manifold objects from proe will also be imported
InputFile Returns or sets the input file - name of a file which is being imported
Optimize Returns or sets the Optimize - if value set to true then redundant geometries will be removed
OutputFile Returns or sets the output file - if proe file is imported to new part then this name will be used to write the output.
SettingsFile Returns or sets the settings file - definition file for default options
SimplifyGeometry Returns or sets the simplify geometry - if value set to true then imported data will be simplified
Tag Returns the Tag for this object.

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
Destroy Deletes the builder, and cleans up any objects created by the builder.
GetCommittedObjects For builders that create more than one object, this method returns the objects that are created by commit.
GetObject Returns the object currently being edited by this builder.
SaveSettings Save the settings - this will save the settings to a file specified
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

ProeImporterImportToOption Enumeration Import To Option

Property Detail

HealBodies

ProeImporter.HealBodies

Returns or sets the heal bodies - if set to true then imported data will be healed

-------------------------------------

Getter Method

Signature HealBodies

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature HealBodies

Parameters:healBodies (bool) –

New in version NX6.0.0.

License requirements: None.

ImportTo

ProeImporter.ImportTo

Returns or sets the import to.

This option will determine the destination for imported proe file. It can either be new part or work part.

-------------------------------------

Getter Method

Signature ImportTo

Returns:
Return type:NXOpen.ProeImporterImportToOption

New in version NX11.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ImportTo

Parameters:importTo (NXOpen.ProeImporterImportToOption) –

New in version NX11.0.0.

License requirements: None.

ImportToTeamcenter

ProeImporter.ImportToTeamcenter

Returns or sets the import to Teamcenter - if set to true then imported data can be added to Teamcenter

-------------------------------------

Getter Method

Signature ImportToTeamcenter

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ImportToTeamcenter

Parameters:importToTeamcenter (bool) –

New in version NX11.0.0.

License requirements: None.

IncludeNonManifoldObj

ProeImporter.IncludeNonManifoldObj

Returns or sets the include non manifold obj - if set to true then non-manifold objects from proe will also be imported

-------------------------------------

Getter Method

Signature IncludeNonManifoldObj

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature IncludeNonManifoldObj

Parameters:includeNonManifoldObj (bool) –

New in version NX6.0.0.

License requirements: None.

InputFile

ProeImporter.InputFile

Returns or sets the input file - name of a file which is being imported

-------------------------------------

Getter Method

Signature InputFile

Returns:
Return type:str

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature InputFile

Parameters:filename (str) –

New in version NX6.0.0.

License requirements: None.

Optimize

ProeImporter.Optimize

Returns or sets the Optimize - if value set to true then redundant geometries will be removed

-------------------------------------

Getter Method

Signature Optimize

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Optimize

Parameters:optimize (bool) –

New in version NX6.0.0.

License requirements: None.

OutputFile

ProeImporter.OutputFile

Returns or sets the output file - if proe file is imported to new part then this name will be used to write the output.

-------------------------------------

Getter Method

Signature OutputFile

Returns:
Return type:str

New in version NX11.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature OutputFile

Parameters:filename (str) –

New in version NX11.0.0.

License requirements: None.

SettingsFile

ProeImporter.SettingsFile

Returns or sets the settings file - definition file for default options

-------------------------------------

Getter Method

Signature SettingsFile

Returns:
Return type:str

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature SettingsFile

Parameters:filename (str) –

New in version NX6.0.0.

License requirements: None.

SimplifyGeometry

ProeImporter.SimplifyGeometry

Returns or sets the simplify geometry - if value set to true then imported data will be simplified

-------------------------------------

Getter Method

Signature SimplifyGeometry

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature SimplifyGeometry

Parameters:simplifyGeometry (bool) –

New in version NX6.0.0.

License requirements: None.

Method Detail

SaveSettings

ProeImporter.SaveSettings

Save the settings - this will save the settings to a file specified

Signature SaveSettings(filename)

Parameters:filename (str) –

New in version NX6.0.0.

License requirements: None.

Validate

ProeImporter.Validate

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

Signature Validate()

Returns:Was self validation successful
Return type:bool

New in version NX3.0.1.

License requirements: None.