Query_Lang-PCBFunctions_Parameters_HasParameterValueHasParameterValue_AD

現在、バージョン 18.1. をご覧頂いています。最新情報については、バージョン Query_Lang-PCBFunctions_Parameters_HasParameterValue((HasParameterValue))_AD の 21 をご覧ください。
Applies to Altium Designer versions: 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2

Parent page: PCB Query Functions - Parameters

Summary

Returns PCB objects incorporating the specified Parameter Name which has a Value that complies with the Query.

Syntax

HasParameterValue(ParameterName : String , ParameterValue : String) : Boolean

Example Usage

HasParameterValue(‘Design Item Id’,'LED-RED-HSMHC170')
HasParameterValue(‘Design Item Id’,'LED-RED-HSMHC170') = True

Returns all objects that have the Design Item Id Parameter Name and a matching Value property of LED-RED-HSMHC170.

Not HasParameterValue(‘Design Item Status’,'RoHS-Compliant')
HasParameterValue(‘Design Item Status’,'RoHS-Compliant') = False

Returns all objects that do not have a Design Item Status Parameter with a Value of RoHS-Compliant.

注記

利用できる機能は、Altium Designer ソフトウェア サブスクリプション のレベルによって異なります。