Query_Lang-PCBFunctions_AttributeChecks_IsLinkedToPadViaTemplateIsLinkedToPadViaTemplate_AD

This document is no longer available beyond version 4. Information can now be found here: IsLinkedToPadViaTemplate for version 5

Nexus message

This documentation page references Altium NEXUS/NEXUS Client (part of the deployed NEXUS solution), which has been discontinued. All your PCB design, data management and collaboration needs can now be delivered by Altium Designer and a connected Altium 365 Workspace. Check out the FAQs page for more information.

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

  1. The single quote characters (') at the start and end of the TemplateName string are mandatory.
If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.