IsNetSelected
Created: September 11, 2015 | Updated: August 09, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
Now reading version 1.0. For the latest, read: IsNetSelected for version 4
Parent page: PCB Query Functions - Attribute Checks
Summary
Returns net-aware objects (arcs, fills, pads, polygon pours, solid regions, tracks, and vias) whose Net property corresponds to the currently selected Net object(s).
Syntax
IsNetSelected : Boolean/Boolean_String
Example Usage
IsNetSelected
IsNetSelected = True
IsNetSelected = 'True'
Returns all net-aware objects (arcs, fills, pads, polygon pours, solid regions, tracks, and vias) whose Net property corresponds to the currently selected Net object(s).
Not IsNetSelected
IsNetSelected = False
IsNetSelected = 'False'
Returns all objects except net-aware objects (arcs, fills, pads, polygon pours, solid regions, tracks, and vias) whose Net property corresponds to the currently selected Net object(s).
Tips
- The selected Net objects are not returned, nor are the child primitives of any polygon pour objects which are returned.