Query_Lang-SCHFunctions_Fields_WidthWidth_AD

Now reading version 17.1. For the latest, read: Query_Lang-SCHFunctions_Fields_Width((Width))_AD for version 21

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.

 

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

The features available depend on your Altium product access level. Compare features included in the various levels of Altium Designer Software Subscription and functionality delivered through applications provided by the Altium 365 platform.

If you don’t see a discussed feature in your software, contact Altium Sales to find out more.