|
NX Open C++ Reference Guide
|
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 { FilterOptionAllViolations, FilterOptionSkipOverrides, FilterOptionOverridesOnly } |
| Enumerations to show options for filter. More... | |
| enum | OverrideOption { OverrideOptionYes, OverrideOptionNo } |
| Enumerations to show options for override. More... | |
Public Member Functions | |
| int | DialogViolationId () |
| Returns the dialog design rule violation Id Created in NX6.0.0. | |
| NXOpen::Routing::DesignRuleViolationViewer::FilterOption | FilterOptionValue () |
| Returns the value for filter option of route Design Rule Violation Created in NX6.0.0. | |
| std::vector< NXString > | GetOverrideText () |
| Returns the text written as a reason for overriding the violation. | |
| bool | NavigateViolationLocationOption () |
| Returns the state of Violation Location toggle option, if true: Navigate Violation Locations of current violation if false: Navigate Violations. | |
| NXOpen::Routing::DesignRuleViolationViewer::OverrideOption | OverrideOptionValue () |
| Returns the value for design Rule Violation override option if Yes: violation is overridden if No: violation is not overridden Created in NX6.0.0. | |
| void | SetDialogViolationId (int dialogViolationID) |
| Sets the dialog design rule violation Id Created in NX6.0.0. | |
| void | SetFilterOptionValue (NXOpen::Routing::DesignRuleViolationViewer::FilterOption filterOptionValue) |
| Sets the value for filter option of route Design Rule Violation Created in NX6.0.0. | |
| void | SetNavigateViolationLocationOption (bool navigateViolationLocationOption) |
| Sets the state of Violation Location toggle option, if true: Navigate Violation Locations of current violation if false: Navigate Violations. | |
| void | SetOverrideOptionValue (NXOpen::Routing::DesignRuleViolationViewer::OverrideOption overrideOptionValue) |
| 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. | |
| void | SetOverrideText (const std::vector< NXString > &overrideText) |
| Sets the text for reason of overriding the violation Created in NX6.0.0. | |
| void | SetUsername (const NXString &username) |
| Sets the username who has overridden design Rule violation Created in NX6.0.0. | |
| void | SetUsername (const char *username) |
| Sets the username who has overridden design Rule violation Created in NX6.0.0. | |
| NXString | Username () |
| Returns the username who has overridden design Rule violation Created in NX6.0.0. | |
Public Member Functions inherited from NXOpen::Builder | |
| NXOpen::NXObject * | Commit () |
| Commits any edits that have been applied to the builder. | |
| void | Destroy () |
| Deletes the builder, and cleans up any objects created by the builder. | |
| std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
| For builders that create more than one object, this method returns the objects that are created by commit. | |
| NXOpen::NXObject * | GetObject () |
| Returns the object currently being edited by this builder. | |
| void | ShowResults () |
| Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
| virtual bool | Validate () |
| Validate whether the inputs to the component are sufficient for commit to be called. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
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 Routing::RouteManager::CreateDesignRuleViolationViewer
Default values.
| Property | Value |
|---|---|
|
DialogViolationId |
0 |
|
FilterOptionValue |
AllViolations |
|
NavigateViolationLocationOption |
true |
|
OverrideOptionValue |
No |
Created in NX6.0.0.
| int NXOpen::Routing::DesignRuleViolationViewer::DialogViolationId | ( | ) |
Returns the dialog design rule violation Id
Created in NX6.0.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
| NXOpen::Routing::DesignRuleViolationViewer::FilterOption NXOpen::Routing::DesignRuleViolationViewer::FilterOptionValue | ( | ) |
Returns the value for filter option of route Design Rule Violation
Created in NX6.0.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
| std::vector<NXString> NXOpen::Routing::DesignRuleViolationViewer::GetOverrideText | ( | ) |
Returns the text written as a reason for overriding the violation.
| bool NXOpen::Routing::DesignRuleViolationViewer::NavigateViolationLocationOption | ( | ) |
Returns 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 : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
| NXOpen::Routing::DesignRuleViolationViewer::OverrideOption NXOpen::Routing::DesignRuleViolationViewer::OverrideOptionValue | ( | ) |
Returns 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 : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
| void NXOpen::Routing::DesignRuleViolationViewer::SetDialogViolationId | ( | int | dialogViolationID | ) |
Sets the dialog design rule violation Id
Created in NX6.0.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
| dialogViolationID | dialogviolationid |
| void NXOpen::Routing::DesignRuleViolationViewer::SetFilterOptionValue | ( | NXOpen::Routing::DesignRuleViolationViewer::FilterOption | filterOptionValue | ) |
Sets the value for filter option of route Design Rule Violation
Created in NX6.0.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
| filterOptionValue | filter option value |
| void NXOpen::Routing::DesignRuleViolationViewer::SetNavigateViolationLocationOption | ( | bool | navigateViolationLocationOption | ) |
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 : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
| navigateViolationLocationOption | navigateviolationlocationoption |
| void NXOpen::Routing::DesignRuleViolationViewer::SetOverrideOptionValue | ( | NXOpen::Routing::DesignRuleViolationViewer::OverrideOption | overrideOptionValue | ) |
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 : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
| overrideOptionValue | override option value |
| void NXOpen::Routing::DesignRuleViolationViewer::SetOverrideText | ( | const std::vector< NXString > & | 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 | overridetext |
| void NXOpen::Routing::DesignRuleViolationViewer::SetUsername | ( | const NXString & | username | ) |
Sets the username who has overridden design Rule violation
Created in NX6.0.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
| username | username |
| void NXOpen::Routing::DesignRuleViolationViewer::SetUsername | ( | const char * | username | ) |
Sets the username who has overridden design Rule violation
Created in NX6.0.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
| username | username |
| NXString NXOpen::Routing::DesignRuleViolationViewer::Username | ( | ) |
Returns the username who has overridden design Rule violation
Created in NX6.0.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")