Query_Lang-PCBFunctions_Fields_RestrictedRestricted_AD
Created: October 31, 2018 | Updated: March 06, 2024
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
Now reading version 3.1. For the latest, read: Query_Lang-PCBFunctions_Fields_Restricted((Restricted))_AD for version 4
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, and tracks).