Query_Lang-PCBFunctions_MembershipChecks_HasFootprintPadHasFootprintPad_AD

Вы просматриваете версию 19.0. Для самой новой информации, перейдите на страницу Query_Lang-PCBFunctions_MembershipChecks_HasFootprintPad((HasFootprintPad))_AD для версии 21

Parent page: PCB Query Functions - Membership Checks

Summary

Returns all pad objects that are children of component objects with the specified Footprint, and where the pad's Name property complies with the Query.

Syntax

HasFootprintPad(Footprint : String,Name : String) : Boolean/Boolean_String

Example Usage

Not HasFootprintPad('0805','1')
HasFootprintPad('0805','1') = False
HasFootprintPad('0805','1') = 'False'

Returns all objects except pad objects whose Name property is 1, and which are child objects of component objects whose Footprint property is 0805.

HasFootprintPad('SIP?0','1')
HasFootprintPad('SIP?0','1') = True
HasFootprintPad('SIP?0','1') = 'True'

Returns all pad objects whose Name property is 1, and which are child objects of component objects whose Footprint property starts with SIP, finishes with 0, and includes one other intermediate character. Example compliant footprints include SIP10, SIP20, SIPQ0.

HasFootprintPad('DB*','MNT')
HasFootprintPad('DB*','MNT') = True
HasFootprintPad('DB*','MNT') = 'True'

Returns all pad objects whose Name property is MNT, and which are child objects of component objects whose Footprint property starts with DB. Example compliant footprints include DB9S, DB15HD, DB25P.

HasFootprintPad('','MN*')
HasFootprintPad('','MN*') = True
HasFootprintPad('','MN*') = 'True'

Returns all pad objects whose Name property starts with MN, and which are child objects of any component object.

Tips

  1. The single quote characters (') at the start and end of the Footprint and Name strings are mandatory.
  2. The parent component objects are not returned.
Примечание

Доступные функциональные возможности зависят от вашего уровня Подписки на ПО Altium Designer.