Query_Lang-PCBFunctions_Fields_NameName_AD
Created: September 02, 2015 | Updated: August 11, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
Now reading version 3.2. For the latest, read: Query_Lang-PCBFunctions_Fields_Name((Name))_AD for version 4
Parent page: PCB Query Functions - Fields
Summary
Returns class, component, design rule, net, pad, and polygon pour objects whose Name property complies with the Query.
Syntax
Name : String
Example Usage
Name = '<All Components>'
Returns all class, component, design rule, net, pad, and polygon pour objects that have a Name property of <All Components>
.
Name = 'U4-1'
Returns all class, component, design rule, net, pad, and polygon pour objects that have a Name property of U4-1
.
Name Like 'R7*'
Returns all class, component, design rule, net, pad, and polygon pour objects that have a Name property whose associated string commences with R7
.
Tips
- The Name property is only defined for class, component, design rule, net, pad, and polygon pour objects.
- In the case of pad objects, a full Name property has to be specified; this consists of an initial sub-string which specifies the Name property of the pad's parent component, followed by a '-' character, followed by another sub-string which specifies the Name property of the pad itself. Pads which are of a 'free' nature are identified by an initial sub-string of 'Free-', followed by the sub-string that specifies the pad's own Name property.