AcisImporter Class¶
-
class
NXOpen.AcisImporter¶ Bases:
NXOpen.BuilderRepresents a
AcisImporterto be used when importing the Acis Data This class is created usingDexManager. NULL object will be returned from Commit()To create a new instance of this class, use
NXOpen.DexManager.CreateAcisImporter()Default values.
Property Value HealBodies 0 IncludeWires 0 Optimize 0 Sew 0 SimplifyGeometry 0 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 |
| HealBodies | Returns or sets the heal bodies - if set to true then imported data will be healed |
| IncludeWires | Returns or sets the IncludeWires - if value set to true then wireframes and points will 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 |
| SettingsFile | Returns or sets the settings file - definition file for default options |
| Sew | Returns or sets the Sew - if value set to true then automatic sewing will be done |
| 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. |
Property Detail¶
FileOpenFlag¶
-
AcisImporter.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 NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FileOpenFlagParameters: doingFileOpen (bool) – New in version NX11.0.0.
License requirements: None.
HealBodies¶
-
AcisImporter.HealBodies¶ Returns or sets the heal bodies - if set to true then imported data will be healed
-------------------------------------Getter Method
Signature
HealBodiesReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HealBodiesParameters: healBodies (bool) – New in version NX11.0.0.
License requirements: None.
IncludeWires¶
-
AcisImporter.IncludeWires¶ Returns or sets the IncludeWires - if value set to true then wireframes and points will be imported
-------------------------------------Getter Method
Signature
IncludeWiresReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IncludeWiresParameters: includeWires (bool) – New in version NX11.0.0.
License requirements: None.
InputFile¶
-
AcisImporter.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 NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
InputFileParameters: filename (str) – New in version NX11.0.0.
License requirements: None.
Optimize¶
-
AcisImporter.Optimize¶ Returns or sets the Optimize - if value set to true then redundant geometries will be removed
-------------------------------------Getter Method
Signature
OptimizeReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OptimizeParameters: optimize (bool) – New in version NX11.0.0.
License requirements: None.
SettingsFile¶
-
AcisImporter.SettingsFile¶ Returns or sets the settings file - definition file for default options
-------------------------------------Getter Method
Signature
SettingsFileReturns: Return type: str New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SettingsFileParameters: filename (str) – New in version NX11.0.0.
License requirements: None.
Sew¶
-
AcisImporter.Sew¶ Returns or sets the Sew - if value set to true then automatic sewing will be done
-------------------------------------Getter Method
Signature
SewReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SewParameters: sew (bool) – New in version NX11.0.0.
License requirements: None.
SimplifyGeometry¶
-
AcisImporter.SimplifyGeometry¶ Returns or sets the simplify geometry - if value set to true then imported data will be simplified
-------------------------------------Getter Method
Signature
SimplifyGeometryReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SimplifyGeometryParameters: simplifyGeometry (bool) – New in version NX11.0.0.
License requirements: None.
Method Detail¶
SaveSettings¶
-
AcisImporter.SaveSettings¶ Save the 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¶
-
AcisImporter.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.