HasViolations

Now reading version 19. For the latest, read: HasViolations for version 21

Parent page: PCB Query Functions - Attribute Checks

Summary

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

HasViolations : Boolean/Boolean_String

Example Usage

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.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.
Note

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.