Query_Lang-PCBFunctions_AttributeChecks_IsLinkedToPadViaTemplateIsLinkedToPadViaTemplate_AD
Created: 九月 11, 2015 | Updated: 八月 09, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
您正在阅读的是 2.0. 版本。关于最新版本,请前往 Query_Lang-PCBFunctions_AttributeChecks_IsLinkedToPadViaTemplate((IsLinkedToPadViaTemplate))_AD 阅读 4 版本
Parent page: PCB Query Functions - Attribute Checks
Summary
Returns pad or via objects that are using the Pad or Via template specified as part of the Query, that is, those whose Template property makes reference to such a template.
Syntax
IsLinkedToPadViaTemplate(TemplateName : String) : Boolean/Boolean_String
Example Usage
IsLinkedToPadViaTemplate('c152hn127')
IsLinkedToPadViaTemplate('c152hn127') = True
IsLinkedToPadViaTemplate('c152hn127') = 'True'
Returns all pad objects that use the pad template c152hn127
.
Not IsLinkedToPadViaTemplate('v127h71')
IsLinkedToPadViaTemplate('v127h71') = False
IsLinkedToPadViaTemplate('v127h71') = 'False'
Returns all objects except via objects that use the via template v127h71
.
Tips
- The single quote characters (') at the start and end of the TemplateName string are mandatory.