IgesImporter Class¶
-
class
NXOpen.IgesImporter¶ Bases:
NXOpen.DexBuilderRepresents a
NXOpen.IgesImporterto be used when importing the IGES Data This class is created usingNXOpen.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
CopiousDataReturns: Return type: NXOpen.IgesImporterCopiousDataEnumNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CopiousDataParameters: 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
FileOpenFlagReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FileOpenFlagParameters: 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
FlattenAssemblyReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FlattenAssemblyParameters: flattenAssembly (bool) – New in version NX6.0.0.
License requirements: None.
GeomFixupTol¶
-
IgesImporter.GeomFixupTol¶ Returns or sets the geometry fixup tol
-------------------------------------Getter Method
Signature
GeomFixupTolReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GeomFixupTolParameters: 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
ImportToReturns: Return type: NXOpen.IgesImporterImportToEnumNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ImportToParameters: 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
ImportToTeamcenterReturns: Return type: bool New in version NX7.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ImportToTeamcenterParameters: 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
InputFileReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
InputFileParameters: 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
LayerDefaultReturns: Return type: int New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LayerDefaultParameters: 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
LayerMaskReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LayerMaskParameters: 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
MapViewDepReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MapViewDepParameters: 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
ObjectTypesReturns: Return type: NXOpen.ObjectTypeSelectorNew 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
OptimizeReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OptimizeParameters: 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
OutputFileReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OutputFileParameters: 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
SettingsFileReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SettingsFileParameters: 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
SewSurfacesReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SewSurfacesParameters: 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
SimplifyGeometryReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SimplifyGeometryParameters: 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
SmoothBSurfReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SmoothBSurfParameters: 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
SurfTrimTolReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SurfTrimTolParameters: 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.