public interface DesignRuleViolationCollection extends TaggedObjectCollection
DesignRuleViolation
objects. RouteManager
Modifier and Type | Interface and Description |
---|---|
static class |
DesignRuleViolationCollection.Mode
Design Rule Mode
|
static class |
DesignRuleViolationCollection.Reason
Design Rule reason
|
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
DesignRuleViolation |
createDesignRuleViolation(String shortDescription,
String longDescription,
NXObject[] objects)
Deprecated.
Deprecated in NX11.0.0. Use
Routing.DesignRule#createViolation instead.
|
DesignRuleViolation[] |
reasonExecuteRule(DesignRuleViolationCollection.Mode mode,
DesignRuleViolationCollection.Reason reason,
NXObject[] objs)
Executes design rules and returns all the violations of the rule
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic") . |
_find_next, iterator
DesignRuleViolation createDesignRuleViolation(String shortDescription, String longDescription, NXObject[] objects) throws NXException, RemoteException
Routing.DesignRule#createViolation
instead.
DesignRuleViolation
object.
Once created, you must add the violation to a rule using DesignRule.addViolations(nxopen.routing.DesignRuleViolation[])
.
shortDescription
- longDescription
- objects
- NXException
RemoteException
DesignRuleViolation[] reasonExecuteRule(DesignRuleViolationCollection.Mode mode, DesignRuleViolationCollection.Reason reason, NXObject[] objs) throws NXException, RemoteException
mode
- Design Rule Modereason
- Design Rule Reasonobjs
- Objects to check the design rule violation againstNXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.