Step214Importer Class¶
-
class
NXOpen.
Step214Importer
¶ Bases:
NXOpen.DexBuilder
Represents a
NXOpen.Step214Importer
to be used when importing the STEP214 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.CreateStep214Importer()
Default values.
Property Value FlattenAssembly 0 ImportTo WorkPart ImportToTeamcenter 0 LayerDefault 0 Optimize 0 ProcessHoldFlag 0 SewSurfaces 0 SimplifyGeometry 0 SmoothBSurfaces 1 New in version NX6.0.0.
Properties¶
Property | Description |
---|---|
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 |
ImportTo | Returns or sets the import to - this option will determine the destination for imported iges file. |
ImportToTeamcenter | Returns or sets the ImportToTeamcenter command - if set to true then assembly will be imported into Teamcenter |
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 |
ObjectTypes | Returns the objectTypes - this is subcomponent being used to set object types filters. |
Optimize | Returns or sets the optimize - if set to true Optimizes 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 - if set to true surfaces will be sewed automatically |
SimplifyGeometry | Returns or sets the simplify geometry - if set to true geometry will be simplified automatically |
SmoothBSurfaces | Returns or sets the Smooth B-Surfaces - if set to true smooth B-Surfaces |
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 | Saves 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¶
Step214ImporterImportToOption Enumeration | Create the builder |
Property Detail¶
FileOpenFlag¶
-
Step214Importer.
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¶
-
Step214Importer.
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 NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FlattenAssembly
Parameters: flattenAssembly (bool) – New in version NX7.5.0.
License requirements: None.
ImportTo¶
-
Step214Importer.
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.Step214ImporterImportToOption
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ImportTo
Parameters: importTo ( NXOpen.Step214ImporterImportToOption
) –New in version NX6.0.0.
License requirements: None.
ImportToTeamcenter¶
-
Step214Importer.
ImportToTeamcenter
¶ Returns or sets the ImportToTeamcenter command - if set to true then assembly will be imported into Teamcenter
-------------------------------------
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¶
-
Step214Importer.
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¶
-
Step214Importer.
LayerDefault
¶ Returns or sets the layer default for level 0
-------------------------------------
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.
ObjectTypes¶
-
Step214Importer.
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¶
-
Step214Importer.
Optimize
¶ Returns or sets the optimize - if set to true Optimizes 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¶
-
Step214Importer.
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¶
-
Step214Importer.
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¶
-
Step214Importer.
SewSurfaces
¶ Returns or sets the sew surfaces - if set to true surfaces will be sewed automatically
-------------------------------------
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¶
-
Step214Importer.
SimplifyGeometry
¶ Returns or sets the simplify geometry - if set to true geometry will be simplified automatically
-------------------------------------
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.
SmoothBSurfaces¶
-
Step214Importer.
SmoothBSurfaces
¶ Returns or sets the Smooth B-Surfaces - if set to true smooth B-Surfaces
-------------------------------------
Getter Method
Signature
SmoothBSurfaces
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SmoothBSurfaces
Parameters: smoothBSurfaces (bool) – New in version NX6.0.0.
License requirements: None.
Method Detail¶
SaveSettings¶
-
Step214Importer.
SaveSettings
¶ Saves 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¶
-
Step214Importer.
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.