IgesImporter Class

class NXOpen.IgesImporter

Bases: NXOpen.DexBuilder

Represents a NXOpen.IgesImporter to be used when importing the IGES 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.CreateIgesImporter()

Default values.

Property Value
CopiousData CubicNURBBestfitSpline
FlattenAssembly 0
GeomFixupTol 0
ImportTo WorkPart
ImportToTeamcenter 0
LayerDefault 0
MapViewDep 0
Optimize 0
ProcessHoldFlag 0
SewSurfaces 0
SimplifyGeometry 0
SmoothBSurf 0
SurfTrimTol 0.0254

New in version NX6.0.0.

Properties

Property Description
CopiousData Returns or sets the copious data mapping
FileOpenFlag Returns or sets the file open flag - set this to false if doing file import
FlattenAssembly Returns or sets the flatten assembly - if set to true then assembly structure will not be retained
GeomFixupTol Returns or sets the geometry fixup tol
ImportTo Returns or sets the import to - this option will determine the destination for imported iges file.
ImportToTeamcenter Returns or sets the flatten assembly - if set to true then assembly structure will not be retained
InputFile Returns or sets the input file - name of a file which is being imported
LayerDefault Returns or sets the layer default for level 0 in iges
LayerMask Returns or sets the layerMask - comma spearate list of enabled layers
MapViewDep Returns or sets the map view dep - set to true if you want to map view dependent/modified entity to model object
ObjectTypes Returns the objectTypes - this is subcomponent being used to set object types filters.
Optimize Returns or sets the optimize - set this to true if automatic optimize geometry
OutputFile Returns or sets the output file - if iges file is imported to new part then this name will be used to write the output.
ProcessHoldFlag Returns or sets the process hold flag - set to true if user wants to wait until transaltion process gets completed
SettingsFile Returns or sets the settings file - definition file for default options
SewSurfaces Returns or sets the sew surfaces - set this to true if automatic sewing of surfaces is desired
SimplifyGeometry Returns or sets the simplify geometry - set this to true if automatic simplification of geometry is desired
SmoothBSurf Returns or sets the smooth bsurf - set the flag to true if b-surfaced are required to be smoothed
SurfTrimTol Returns or sets the surf trim tol - surface trimming tolerance
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 Returns the save 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

IgesImporterCopiousDataEnum Enumeration Copious Data Option
IgesImporterImportToEnum Enumeration Import To Option

Property Detail

CopiousData

IgesImporter.CopiousData

Returns or sets the copious data mapping

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

Getter Method

Signature CopiousData

Returns:
Return type:NXOpen.IgesImporterCopiousDataEnum

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature CopiousData

Parameters:copiousData (NXOpen.IgesImporterCopiousDataEnum) –

New in version NX6.0.0.

License requirements: None.

FileOpenFlag

IgesImporter.FileOpenFlag

Returns or sets the file open flag - set this to false if doing file import

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

Getter Method

Signature FileOpenFlag

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature FileOpenFlag

Parameters:doingFileOpen (bool) –

New in version NX6.0.0.

License requirements: None.

FlattenAssembly

IgesImporter.FlattenAssembly

Returns or sets the flatten assembly - if set to true then assembly structure will not be retained

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

Getter Method

Signature FlattenAssembly

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature FlattenAssembly

Parameters:flattenAssembly (bool) –

New in version NX6.0.0.

License requirements: None.

GeomFixupTol

IgesImporter.GeomFixupTol

Returns or sets the geometry fixup tol

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

Getter Method

Signature GeomFixupTol

Returns:
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature GeomFixupTol

Parameters:geomFixupTol (float) –

New in version NX6.0.0.

License requirements: None.

ImportTo

IgesImporter.ImportTo

Returns or sets the import to - this option will determine the destination for imported iges file.

it can either be new part or work part.

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

Getter Method

Signature ImportTo

Returns:
Return type:NXOpen.IgesImporterImportToEnum

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature ImportTo

Parameters:importTo (NXOpen.IgesImporterImportToEnum) –

New in version NX6.0.0.

License requirements: None.

ImportToTeamcenter

IgesImporter.ImportToTeamcenter

Returns or sets the flatten assembly - if set to true then assembly structure will not be retained

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

Getter Method

Signature ImportToTeamcenter

Returns:
Return type:bool

New in version NX7.0.0.

License requirements: None.

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

Setter Method

Signature ImportToTeamcenter

Parameters:importToTeamcenter (bool) –

New in version NX7.0.0.

License requirements: None.

InputFile

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

LayerDefault

IgesImporter.LayerDefault

Returns or sets the layer default for level 0 in iges

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

Getter Method

Signature LayerDefault

Returns:
Return type:int

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature LayerDefault

Parameters:layerDefault (int) –

New in version NX6.0.0.

License requirements: None.

LayerMask

IgesImporter.LayerMask

Returns or sets the layerMask - comma spearate list of enabled layers

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

Getter Method

Signature LayerMask

Returns:
Return type:str

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature LayerMask

Parameters:layerMask (str) –

New in version NX6.0.0.

License requirements: None.

MapViewDep

IgesImporter.MapViewDep

Returns or sets the map view dep - set to true if you want to map view dependent/modified entity to model object

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

Getter Method

Signature MapViewDep

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature MapViewDep

Parameters:mapViewDep (bool) –

New in version NX6.0.0.

License requirements: None.

ObjectTypes

IgesImporter.ObjectTypes

Returns the objectTypes - this is subcomponent being used to set object types filters.

This will be used to filter objects based on the types

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

Getter Method

Signature ObjectTypes

Returns:
Return type:NXOpen.ObjectTypeSelector

New in version NX6.0.0.

License requirements: None.

Optimize

IgesImporter.Optimize

Returns or sets the optimize - set this to true if automatic optimize geometry

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

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

IgesImporter.OutputFile

Returns or sets the output file - if iges 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 NX6.0.0.

License requirements: None.

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

Setter Method

Signature OutputFile

Parameters:filename (str) –

New in version NX6.0.0.

License requirements: None.

SettingsFile

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

SewSurfaces

IgesImporter.SewSurfaces

Returns or sets the sew surfaces - set this to true if automatic sewing of surfaces is desired

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

Getter Method

Signature SewSurfaces

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature SewSurfaces

Parameters:sewSurfaces (bool) –

New in version NX6.0.0.

License requirements: None.

SimplifyGeometry

IgesImporter.SimplifyGeometry

Returns or sets the simplify geometry - set this to true if automatic simplification of geometry is desired

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

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.

SmoothBSurf

IgesImporter.SmoothBSurf

Returns or sets the smooth bsurf - set the flag to true if b-surfaced are required to be smoothed

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

Getter Method

Signature SmoothBSurf

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature SmoothBSurf

Parameters:smoothBSurf (bool) –

New in version NX6.0.0.

License requirements: None.

SurfTrimTol

IgesImporter.SurfTrimTol

Returns or sets the surf trim tol - surface trimming tolerance

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

Getter Method

Signature SurfTrimTol

Returns:
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature SurfTrimTol

Parameters:surfTrimTol (float) –

New in version NX6.0.0.

License requirements: None.

Method Detail

SaveSettings

IgesImporter.SaveSettings

Returns the save 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

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