Query_Lang-PCBFunctions_Fields_RestrictedRestricted_AD
Created: April 12, 2017 | Updated: August 18, 2021
| Applies to version: 17.1
Now reading version 17.1. For the latest, read: Query_Lang-PCBFunctions_Fields_Restricted((Restricted))_AD for version 21
Parent page: PCB Query Functions - Fields
Summary
Returns all keepout objects whose Restricted for Layer property complies with the Query.
Syntax
Restricted = Layer_String
Restricted <> Layer_String
Example Usage
Restricted = 'TopLayer'
Returns all keepout objects on the TopLayer.
Restricted <> 'MidLayer1'
Returns all keepout objects except for those on the MidLayer1 layer.
Tips
- The single quote characters (') at the start and end of
Layer_String
are mandatory. - The Restricted for Layer property is only defined for keepout objects (arcs, fills, solid regions, tracks).