Query_Lang-PCBFunctions_Fields_NameName_AD
Created: 九月 02, 2015 | Updated: 八月 11, 2021
| Applies to versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2
您正在阅读的是 16.1. 版本。关于最新版本,请前往 Query_Lang-PCBFunctions_Fields_Name((Name))_AD 阅读 21 版本
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.