NXOpen .NET Reference
12.0.0
|
This class can be used to set the violation id, update text for overridding the violation and update the user name used to override the violation. More...
Public Types | |
enum | FilterOption { AllViolations, SkipOverrides, OverridesOnly } |
Enumerations to show options for filter. More... | |
enum | OverrideOption { Yes, No } |
Enumerations to show options for override More... | |
Public Member Functions | |
unsafe string[] | GetOverrideText () |
Returns the text written as a reason for overriding the violation More... | |
unsafe void | SetOverrideText (string[] overrideText) |
Sets the text for reason of overriding the violation More... | |
Public Member Functions inherited from NXOpen.Builder | |
unsafe NXOpen.NXObject | Commit () |
Commits any edits that have been applied to the builder. More... | |
unsafe void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
unsafe NXOpen.NXObject[] | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
unsafe NXOpen.NXObject | GetObject () |
Returns the object currently being edited by this builder. More... | |
unsafe void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
unsafe bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Properties | |
unsafe int | DialogViolationId [get, set] |
Returns or sets the dialog design rule violation Id More... | |
unsafe NXOpen.Routing.DesignRuleViolationViewer.FilterOption | FilterOptionValue [get, set] |
Returns or sets the value for filter option of route Design Rule Violation More... | |
unsafe bool | NavigateViolationLocationOption [get, set] |
Returns or sets the state of Violation Location toggle option, if true: Navigate Violation Locations of current violation if false: Navigate Violations. More... | |
unsafe NXOpen.Routing.DesignRuleViolationViewer.OverrideOption | OverrideOptionValue [get, set] |
Returns or sets the value for design Rule Violation override option if Yes: violation is overridden if No: violation is not overridden More... | |
unsafe string | Username [get, set] |
Returns or sets the username who has overridden design Rule violation More... | |
This class can be used to set the violation id, update text for overridding the violation and update the user name used to override the violation.
To create a new instance of this class, use NXOpen.Routing.RouteManager.CreateDesignRuleViolationViewer
Default values.
Property | Value |
---|---|
DialogViolationId |
0 |
FilterOptionValue |
AllViolations |
NavigateViolationLocationOption |
true |
OverrideOptionValue |
No |
Created in NX6.0.0
unsafe string [] NXOpen.Routing.DesignRuleViolationViewer.GetOverrideText | ( | ) |
Returns the text written as a reason for overriding the violation
Created in NX6.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
unsafe void NXOpen.Routing.DesignRuleViolationViewer.SetOverrideText | ( | string[] | overrideText | ) |
Sets the text for reason of overriding the violation
Created in NX6.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
overrideText |
|
getset |
Returns or sets the dialog design rule violation Id
Created in NX6.0.0
License requirements to get this property: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
License requirements to set this property: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
|
getset |
Returns or sets the value for filter option of route Design Rule Violation
Created in NX6.0.0
License requirements to get this property: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
License requirements to set this property: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
|
getset |
Returns or sets the state of Violation Location toggle option, if true: Navigate Violation Locations of current violation if false: Navigate Violations.
Created in NX6.0.0
License requirements to get this property: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
License requirements to set this property: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
|
getset |
Returns or sets the value for design Rule Violation override option if Yes: violation is overridden if No: violation is not overridden
Created in NX6.0.0
License requirements to get this property: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
License requirements to set this property: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
|
getset |
Returns or sets the username who has overridden design Rule violation
Created in NX6.0.0
License requirements to get this property: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
License requirements to set this property: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")