Query_Lang-PCBFunctions_Parameters_ParameterValueParameterValue_AD

Вы просматриваете версию 18.1. Для самой новой информации, перейдите на страницу Query_Lang-PCBFunctions_Parameters_ParameterValue((ParameterValue))_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 the string Value of a PCB object Parameter, which can be tested to return PCB objects that comply to the Query.

Syntax

ParameterValue(ParameterName : String) : String

Example Usage

ParameterValue(‘Design Item Id’) Like 'CAP*'
Returns all objects with the Design Item Id Parameter that has a Value string beginning with CAP, such as CAP-NP-100nF-50V-0805, CAP-P-22uF-10V-MCCT-B, etc.

ParameterValue(‘Design Item Id’) Like '*0805*'
Returns all objects with the Design Item Id Parameter that has a Value string which includes 0805.

StrToNumber(ParameterValue('VoltageRating'),V)  >  50
Returns all objects that have a VoltageRating Parameter Value greater than 50 volts. The string Value returned by ParameterValue is converted to a number for the comparison by the unit-aware StrToNumber function.

Примечание

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