Class DesignRuleViolationCollection
Inheritance
System.Object
System.MarshalByRefObject
DesignRuleViolationCollection
Implements
System.Runtime.Remoting.Messaging.IMessageSink
System.Collections.IEnumerable
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NXOpen.Routing
Assembly: NXOpen.dll
Syntax
public class DesignRuleViolationCollection : TaggedObjectCollection, IMessageSink, IEnumerable
Constructors
DesignRuleViolationCollection()
Declaration
protected DesignRuleViolationCollection()
DesignRuleViolationCollection(RouteManager)
Declaration
protected DesignRuleViolationCollection(RouteManager owner)
Parameters
| Type | Name | Description |
|---|---|---|
| RouteManager | owner |
Properties
Tag
Declaration
public Tag Tag { get; }
Property Value
| Type | Description |
|---|---|
| Tag |
Methods
CreateDesignRuleViolation(String, String, NXObject[])
Declaration
[Obsolete("Deprecated in NX11.0.0. Use Routing.DesignRule.CreateViolation instead.")]
public DesignRuleViolation CreateDesignRuleViolation(string shortDescription, string longDescription, NXObject[] objects)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | shortDescription | |
| System.String | longDescription | |
| NXObject[] | objects |
Returns
| Type | Description |
|---|---|
| DesignRuleViolation |
EnumerateMoveNext(ref Tag, Byte[])
Declaration
protected override int EnumerateMoveNext(ref Tag currentTag, byte[] state)
Parameters
| Type | Name | Description |
|---|---|---|
| Tag | currentTag | |
| System.Byte[] | state |
Returns
| Type | Description |
|---|---|
| System.Int32 |
Overrides
ReasonExecuteRule(DesignRuleViolationCollection.Mode, DesignRuleViolationCollection.Reason, NXObject[])
Declaration
public DesignRuleViolation[] ReasonExecuteRule(DesignRuleViolationCollection.Mode mode, DesignRuleViolationCollection.Reason reason, NXObject[] objs)
Parameters
| Type | Name | Description |
|---|---|---|
| DesignRuleViolationCollection.Mode | mode | |
| DesignRuleViolationCollection.Reason | reason | |
| NXObject[] | objs |
Returns
| Type | Description |
|---|---|
| DesignRuleViolation[] |
ToArray()
Declaration
public DesignRuleViolation[] ToArray()
Returns
| Type | Description |
|---|---|
| DesignRuleViolation[] |
Implements
System.Runtime.Remoting.Messaging.IMessageSink
System.Collections.IEnumerable