NXOpen .NET Reference
12.0.0
|
Represents a collection of NXOpen.Routing.DesignRuleViolation objects. More...
Public Types | |
enum | Mode { Concurrent, Interactive, Batch } |
Design Rule Mode More... | |
enum | Reason { Unknown, CreatePath, HealPath, AssignCorner, AssignStock, RemoveStock, StockStyle, PlacePart, CreateFab, QualifyPart, MovePath, CopyPath, DeletePath, SubdivideSeg, SimplifyPath, RemovePart, MovePart, EditCharx, Interactive, Batch, OrientStock, UnifyPath, TransformPath, OffsetPath, AutoRoutePin, ManualRoutePin, AutoRouteComp, ManualRouteComp, Import, PartialAutoRouteComp, EditPlacePart, BulkReplacement } |
Design Rule reason More... | |
Public Member Functions | |
NXOpen.Routing.DesignRuleViolation[] | ToArray () |
Returns an array of NXOpen.Routing.DesignRuleViolation objects. More... | |
unsafe NXOpen.Routing.DesignRuleViolation | CreateDesignRuleViolation (string shortDescription, string longDescription, NXOpen.NXObject[] objects) |
Creates a NXOpen.Routing.DesignRuleViolation object. More... | |
unsafe NXOpen.Routing.DesignRuleViolation[] | ReasonExecuteRule (NXOpen.Routing.DesignRuleViolationCollection.Mode mode, NXOpen.Routing.DesignRuleViolationCollection.Reason reason, NXOpen.NXObject[] objs) |
Executes design rules and returns all the violations of the rule More... | |
Protected Member Functions | |
override int | EnumerateMoveNext (ref Tag currentTag, byte[] state) |
Advances the enumerator to the next element of the collection. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents a collection of NXOpen.Routing.DesignRuleViolation objects.
To obtain an instance of this class, refer to NXOpen.Routing.RouteManager
Created in NX4.0.0
Design Rule Mode
Enumerator | |
---|---|
Concurrent |
Executes design rules on all concurrently logged objects. Use LogConcurrent method on NXOpen.Routing.RouteManager to concurrently logged objects and GetConcurrent method to get all the concurrent objects |
Interactive |
Execute design rules during next interactive check |
Batch |
Executes design rules in a batch process |
Design Rule reason
unsafe NXOpen.Routing.DesignRuleViolation NXOpen.Routing.DesignRuleViolationCollection.CreateDesignRuleViolation | ( | string | shortDescription, |
string | longDescription, | ||
NXOpen.NXObject[] | objects | ||
) |
Creates a NXOpen.Routing.DesignRuleViolation object.
Once created, you must add the violation to a rule using NXOpen.Routing.DesignRule.AddViolations .
Created in NX4.0.2
Deprecated in NX11.0.0. Use Routing.DesignRule.CreateViolation instead.
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
shortDescription | |
longDescription | |
objects |
|
protected |
Advances the enumerator to the next element of the collection.
unsafe NXOpen.Routing.DesignRuleViolation [] NXOpen.Routing.DesignRuleViolationCollection.ReasonExecuteRule | ( | NXOpen.Routing.DesignRuleViolationCollection.Mode | mode, |
NXOpen.Routing.DesignRuleViolationCollection.Reason | reason, | ||
NXOpen.NXObject[] | objs | ||
) |
Executes design rules and returns all the violations of the rule
Created in NX4.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
mode | Design Rule Mode |
reason | Design Rule Reason |
objs | Objects to check the design rule violation against |
NXOpen.Routing.DesignRuleViolation [] NXOpen.Routing.DesignRuleViolationCollection.ToArray | ( | ) |
Returns an array of NXOpen.Routing.DesignRuleViolation objects.
|
get |
Returns the tag of this object.