Query_Lang-SCHFunctions_Fields_WidthWidth_AD

您正在阅读的是 18.1. 版本。关于最新版本,请前往 Query_Lang-SCHFunctions_Fields_Width((Width))_AD 阅读 21 版本
Applies to Altium Designer versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2

Parent page: Schematic Query Functions - Fields

Summary

Returns all port objects whose Width property complies with the Query.

Syntax

Width : Numeric_String
Width : Number

The Width keyword can always be used in conjunction with a Numeric_String. It can alternatively be used in conjunction with a Number, but only when specifically targeting port objects using either of the following preceding entries within the Query expression: IsPort, or ObjectKind = 'Port'.

Example Usage

Width = '60'
Returns all port objects whose Width property is equal to 60.

Width Between '40' And '80'
Returns all port objects whose Width property is greater than or equal to 40 and less than or equal to 80.

Objectkind = 'Port' && Width >= 50
Returns all port objects whose Width property is greater than or equal to 50.

IsPort && Width < 70
Returns all port objects whose Width property is less than 70.

Width <> '40'
Returns all objects except port objects whose Width property is equal to 40.

IsPort && Width <> 40
Returns all port objects whose Width property is not equal to 40.

Tips

  1. The Width property is only defined for port objects.

 

可用的功能取决于您的 Altium Designer 软件订阅级别