IsLinkedToPadViaTemplate
This document is no longer available beyond version 21. Information can now be found here: IsLinkedToPadViaTemplate for version 25
The features available depend on your Altium product access level. Compare features included in the various levels of Altium Designer Software Subscription and functionality delivered through applications provided by the Altium 365 platform.
If you don’t see a discussed feature in your software, contact Altium Sales to find out more.
Parent page: PCB Query Functions - Attribute Checks
Summary Copy Link Copied
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 Copy Link Copied
IsLinkedToPadViaTemplate(TemplateName : String) : Boolean/Boolean_String
Example Usage Copy Link Copied
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 Copy Link Copied
- The single quote characters (') at the start and end of the TemplateName string are mandatory.