Query_Lang-SCHFunctions_MembershipChecks_HasFootprintHasFootprint_AD

現在、バージョン 18.1. をご覧頂いています。最新情報については、バージョン Query_Lang-SCHFunctions_MembershipChecks_HasFootprint((HasFootprint))_AD の 21 をご覧ください。

Parent page: Schematic Query Functions - Membership Checks

Summary

Returns each part object that is linked to (or references) a footprint model whose properties comply with the Query.

It is possible to link a part to more than one footprint model, but only one model can be selected as a part's Current Footprint.

Syntax

HasFootprint(ModelName : String,CurrentModelOnly : Boolean) : Boolean/Boolean_String

The ModelName string specifies the Name property of the linked footprint model.

The CurrentModelOnly parameter specifies whether or not the linked footprint model has to be the Current Footprint for each part. When this is False, the linked footprint model does not have to be the Current Footprint (but it still can be); when this is True, the linked footprint model does have to be the Current Footprint.

Example Usage

HasFootprint('SOIC14',False)
HasFootprint('SOIC14',False) = True
HasFootprint('SOIC14',False) = 'True'

Returns all part objects that are linked to a Footprint Model whose Name property is SOIC14; that Model does not have to be each part's Current Footprint (but it can be).

HasFootprint('DIP14',True)
HasFootprint('DIP14',True) = True

HasFootprint('DIP14',True) = 'True'
Returns all part objects that are linked to a Footprint Model whose Name property is DIP14; that Model must be the Current Footprint for the part.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.
注記

利用できる機能は、Altium製品のアクセスレベルによって異なります。ご使用のソフトウェアの機能が見つからない場合は、Altium営業担当者にお問い合わせください