Catiav4Creator Class¶
-
class
NXOpen.
Catiav4Creator
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.Catiav4Creator
to be used when exporting the CATIA V4 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.CreateCatiav4Creator()
Default values.
Property Value WriteSolidAs VOLUMEs New in version NX6.0.0.
Properties¶
Property | Description |
---|---|
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. |
WriteSolidAs | Returns or sets the write solid as - this will decide if solids should be written as SOLIDE or Volumes |
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 | The save 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¶
Catiav4CreatorSolidBodyOutputOption Enumeration | Options for outputing solid bodies to CATIA V4 |
Property Detail¶
ExportSelectionBlock¶
-
Catiav4Creator.
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 NX6.0.0.
License requirements: None.
FileSaveFlag¶
-
Catiav4Creator.
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 NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FileSaveFlag
Parameters: doingFileSave (bool) – New in version NX6.0.0.
License requirements: None.
OutputFile¶
-
Catiav4Creator.
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 NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
OutputFile
Parameters: filename (str) – New in version NX6.0.0.
License requirements: None.
SettingsFile¶
-
Catiav4Creator.
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 NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SettingsFile
Parameters: filename (str) – New in version NX6.0.0.
License requirements: None.
WriteSolidAs¶
-
Catiav4Creator.
WriteSolidAs
¶ Returns or sets the write solid as - this will decide if solids should be written as SOLIDE or Volumes
-------------------------------------
Getter Method
Signature
WriteSolidAs
Returns: Return type: NXOpen.Catiav4CreatorSolidBodyOutputOption
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
WriteSolidAs
Parameters: writeSolidAs ( NXOpen.Catiav4CreatorSolidBodyOutputOption
) –New in version NX6.0.0.
License requirements: None.
Method Detail¶
SaveSettings¶
-
Catiav4Creator.
SaveSettings
¶ The save settings - this will save the settings to a file sepcified
Signature
SaveSettings(filename)
Parameters: filename (str) – New in version NX6.0.0.
License requirements: None.
Validate¶
-
Catiav4Creator.
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.