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. | |
NXString | Username () |
Returns the username who has overridden design Rule violation Created in NX6.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.
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.
Returns the dialog design rule violation Id
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
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_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
std::vector<NXString> NXOpen::Routing::DesignRuleViolationViewer::GetOverrideText | ( | ) |
Returns the text written as a reason for overriding the violation.
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_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
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_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
void NXOpen::Routing::DesignRuleViolationViewer::SetDialogViolationId | ( | int | dialogViolationID | ) |
Sets the dialog design rule violation Id
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
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_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
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_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
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_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
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_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
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_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
username | username |
Returns the username who has overridden design Rule violation
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")