public interface DesignRule extends NXObject
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
void |
addViolations(DesignRuleViolation[] violations)
Deprecated.
Deprecated in NX11.0.0. Use
Routing.DesignRule#createViolation instead.
|
String |
application()
Returns the application to which this design rule belongs.
|
void |
clearViolationOnObject(NXObject objectToCheck)
Finds the violation of this rule attached to the given object and deletes it.
|
DesignRuleViolation |
createViolation(String shortDescription,
String longDescription,
NXObject[] objects)
Creates a new violation for this design rule.
|
String |
description()
Returns the description of this design rule.
|
String |
drname()
Returns the name of this design rule.
|
DesignRuleViolation[] |
getViolations()
Returns any violations recorded against this design rule.
|
createAttributeIterator, deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getNextUserAttribute, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
String drname() throws NXException, RemoteException
NXException
RemoteException
String description() throws NXException, RemoteException
NXException
RemoteException
String application() throws NXException, RemoteException
NXException
RemoteException
DesignRuleViolation[] getViolations() throws NXException, RemoteException
NXException
RemoteException
void addViolations(DesignRuleViolation[] violations) throws NXException, RemoteException
Routing.DesignRule#createViolation
instead.
violations
- NXException
RemoteException
DesignRuleViolation createViolation(String shortDescription, String longDescription, NXObject[] objects) throws NXException, RemoteException
shortDescription
- longDescription
- objects
- NXException
RemoteException
void clearViolationOnObject(NXObject objectToCheck) throws NXException, RemoteException
Update.doUpdate(int)
after clearing violations.
objectToCheck
- NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.