NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Routing.DesignRuleViolationViewer Class Reference

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...

Inheritance diagram for NXOpen.Routing.DesignRuleViolationViewer:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

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...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. 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...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

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

Member Enumeration Documentation

Enumerations to show options for filter.

Enumerator
AllViolations 

will show all violations

SkipOverrides 

will not show overridden violations

OverridesOnly 

will show only overridden violations

Enumerations to show options for override

Enumerator
Yes 

this shows that current violation is overridden violations

No 

this shows that current violation is not overridden.

Member Function Documentation

unsafe string [] NXOpen.Routing.DesignRuleViolationViewer.GetOverrideText ( )
inline

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")

Returns
unsafe void NXOpen.Routing.DesignRuleViolationViewer.SetOverrideText ( string[]  overrideText)
inline

Sets the text for reason of overriding the violation

Created in NX6.0.0

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
overrideText

Property Documentation

unsafe int NXOpen.Routing.DesignRuleViolationViewer.DialogViolationId
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")

unsafe NXOpen.Routing.DesignRuleViolationViewer.FilterOption NXOpen.Routing.DesignRuleViolationViewer.FilterOptionValue
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")

unsafe bool NXOpen.Routing.DesignRuleViolationViewer.NavigateViolationLocationOption
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")

unsafe NXOpen.Routing.DesignRuleViolationViewer.OverrideOption NXOpen.Routing.DesignRuleViolationViewer.OverrideOptionValue
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")

unsafe string NXOpen.Routing.DesignRuleViolationViewer.Username
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")


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.