HasViolations
This document is no longer available beyond version 21. Information can now be found here: HasViolations for version 25
The features available depend on your Altium product access level. Compare features included in the various levels of Altium Designer Software Subscription and functionality delivered through applications provided by the Altium 365 platform.
If you don’t see a discussed feature in your software, contact Altium Sales to find out more.
Parent page: PCB Query Functions - Attribute Checks
Summary Copy Link Copied
Returns objects whose violation state is True. This occurs when a violation of one or more design rules has been detected that involves the object concerned.
Syntax Copy Link Copied
HasViolations : Boolean/Boolean_String
Example Usage Copy Link Copied
HasViolations
HasViolations = True
HasViolations = 'True'
Returns all objects that currently in violation of defined design rules.
Not HasViolations
HasViolations = False
HasViolations = 'False'
Returns all objects except objects that currently in violation of defined design rules.