AcisExporter Class

class NXOpen.AcisExporter

Bases: NXOpen.Builder

Represents a AcisExporter to be used when importing the Acis Data This class is created using DexManager. NULL object will be returned from Commit()

To create a new instance of this class, use NXOpen.DexManager.CreateAcisExporter()

Default values.

Property Value
AcisVersion R18

New in version NX11.0.0.

Properties

Property Description
AcisVersion Returns or sets the Acis version - The version of ACIS file to be exported
ExportSelectionBlock Returns the export selection block - the object selection will be done by this block.
FileSaveFlag Returns or sets the file save flag - this should be set to false if doing File Export
OutputFile Returns or sets the output file - the exported data will be written to file specified
SettingsFile Returns or sets the settings file - The definition file to read default options
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 sepcified
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

AcisExporterAcisVersionOption Enumeration ACIS Version options

Property Detail

AcisVersion

AcisExporter.AcisVersion

Returns or sets the Acis version - The version of ACIS file to be exported

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

Getter Method

Signature AcisVersion

Returns:
Return type:NXOpen.AcisExporterAcisVersionOption

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature AcisVersion

Parameters:acisVersion (NXOpen.AcisExporterAcisVersionOption) –

New in version NX11.0.0.

License requirements: None.

ExportSelectionBlock

AcisExporter.ExportSelectionBlock

Returns the export selection block - the object selection will be done by this block.

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

Getter Method

Signature ExportSelectionBlock

Returns:
Return type:NXOpen.ObjectSelector

New in version NX11.0.0.

License requirements: None.

FileSaveFlag

AcisExporter.FileSaveFlag

Returns or sets the file save flag - this should be set to false if doing File Export

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

Getter Method

Signature FileSaveFlag

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature FileSaveFlag

Parameters:doingFileSave (bool) –

New in version NX11.0.0.

License requirements: None.

OutputFile

AcisExporter.OutputFile

Returns or sets the output file - the exported data will be written to file specified

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

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

AcisExporter.SettingsFile

Returns or sets the settings file - The definition file to read 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.

Method Detail

SaveSettings

AcisExporter.SaveSettings

Save the settings - this will save the settings to a file sepcified

Signature SaveSettings(filename)

Parameters:filename (str) –

New in version NX11.0.0.

License requirements: None.

Validate

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