Step242Importer Class¶
-
class
NXOpen.
Step242Importer
¶ Bases:
NXOpen.DexBuilder
Represents a
NXOpen.Step242Importer
to be used when importing STEP242 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.CreateStep242Importer()
Default values.
Property Value FlattenAssembly 0 ImportTo WorkPart ImportToTeamcenter 0 Messages None Optimize 0 SewSurfaces 0 SimplifyGeometry 0 SmoothBSurfaces 1 New in version NX11.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 the assembly will be imported into Teamcenter |
InputFile | Returns or sets the input file - name of a file which is being imported |
Messages | Returns or sets the message level for syslog messages when loading Step242 files |
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¶
Step242ImporterImportToOption Enumeration | What part to import to. |
Step242ImporterMessageEnum Enumeration | Messages output when opening the file. |
Property Detail¶
FileOpenFlag¶
-
Step242Importer.
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 NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FileOpenFlag
Parameters: doingFileOpen (bool) – New in version NX11.0.0.
License requirements: None.
FlattenAssembly¶
-
Step242Importer.
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 NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FlattenAssembly
Parameters: flattenAssembly (bool) – New in version NX11.0.0.
License requirements: None.
ImportTo¶
-
Step242Importer.
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.Step242ImporterImportToOption
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ImportTo
Parameters: importTo ( NXOpen.Step242ImporterImportToOption
) –New in version NX11.0.0.
License requirements: None.
ImportToTeamcenter¶
-
Step242Importer.
ImportToTeamcenter
¶ Returns or sets the ImportToTeamcenter command - if set to true then the assembly will be imported into 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.
InputFile¶
-
Step242Importer.
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 NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
InputFile
Parameters: filename (str) – New in version NX11.0.0.
License requirements: None.
Messages¶
-
Step242Importer.
Messages
¶ Returns or sets the message level for syslog messages when loading Step242 files
-------------------------------------
Getter Method
Signature
Messages
Returns: Return type: NXOpen.Step242ImporterMessageEnum
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Messages
Parameters: messages ( NXOpen.Step242ImporterMessageEnum
) –New in version NX11.0.0.
License requirements: None.
ObjectTypes¶
-
Step242Importer.
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 NX11.0.0.
License requirements: None.
Optimize¶
-
Step242Importer.
Optimize
¶ Returns or sets the optimize - if set to true Optimizes geometry
-------------------------------------
Getter Method
Signature
Optimize
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Optimize
Parameters: optimize (bool) – New in version NX11.0.0.
License requirements: None.
OutputFile¶
-
Step242Importer.
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 NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
OutputFile
Parameters: filename (str) – New in version NX11.0.0.
License requirements: None.
SettingsFile¶
-
Step242Importer.
SettingsFile
¶ Returns or sets the settings file - definition file for default options
-------------------------------------
Getter Method
Signature
SettingsFile
Returns: Return type: str New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SettingsFile
Parameters: filename (str) – New in version NX11.0.0.
License requirements: None.
SewSurfaces¶
-
Step242Importer.
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 NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SewSurfaces
Parameters: sewSurfaces (bool) – New in version NX11.0.0.
License requirements: None.
SimplifyGeometry¶
-
Step242Importer.
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 NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SimplifyGeometry
Parameters: simplifyGeometry (bool) – New in version NX11.0.0.
License requirements: None.
SmoothBSurfaces¶
-
Step242Importer.
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 NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SmoothBSurfaces
Parameters: smoothBSurfaces (bool) – New in version NX11.0.0.
License requirements: None.
Method Detail¶
SaveSettings¶
-
Step242Importer.
SaveSettings
¶ Saves the save settings - this will save the settings to a file specified
Signature
SaveSettings(filename)
Parameters: filename (str) – New in version NX11.0.0.
License requirements: None.
Validate¶
-
Step242Importer.
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.