SmartDiffValidatorBuilder Class¶
-
class
NXOpen.SmartDiffValidatorBuilder¶ Bases:
NXOpen.BuilderRepresents a
SmartDiffValidatorbuilderAn instance of this class can be obtained through
CAE.CaeAutotestNew in version NX7.5.0.
Properties¶
| Property | Description |
|---|---|
| BaseLineFile | Returns or sets the base line file |
| DifferenceFile | Returns or sets the difference file |
| LocalConfigFile | Returns or sets the local config file |
| NewFile | Returns or sets the new file |
| Tag | Returns the Tag for this object. |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| CommitValidation | 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. |
| 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¶
BaseLineFile¶
-
SmartDiffValidatorBuilder.BaseLineFile¶ Returns or sets the base line file
-------------------------------------Getter Method
Signature
BaseLineFileReturns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BaseLineFileParameters: filename (str) – New in version NX7.5.0.
License requirements: None.
DifferenceFile¶
-
SmartDiffValidatorBuilder.DifferenceFile¶ Returns or sets the difference file
-------------------------------------Getter Method
Signature
DifferenceFileReturns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DifferenceFileParameters: filename (str) – New in version NX7.5.0.
License requirements: None.
LocalConfigFile¶
-
SmartDiffValidatorBuilder.LocalConfigFile¶ Returns or sets the local config file
-------------------------------------Getter Method
Signature
LocalConfigFileReturns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LocalConfigFileParameters: filename (str) – New in version NX7.5.0.
License requirements: None.
NewFile¶
-
SmartDiffValidatorBuilder.NewFile¶ Returns or sets the new file
-------------------------------------Getter Method
Signature
NewFileReturns: the new file Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NewFileParameters: filename (str) – New in version NX7.5.0.
License requirements: None.
Method Detail¶
CommitValidation¶
-
SmartDiffValidatorBuilder.CommitValidation¶ Commits any edits that have been applied to the builder.
Returns the validation object
Signature
CommitValidation()New in version NX7.5.0.
License requirements: None.
Validate¶
-
SmartDiffValidatorBuilder.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.