Query_Lang-SCHFunctions_Fields_WidthWidth_AD

您正在阅读的是 2.1. 版本。关于最新版本,请前往 Query_Lang-SCHFunctions_Fields_Width((Width))_AD 阅读 4 版本

This documentation page references Altium NEXUS/NEXUS Client (part of the deployed NEXUS solution), which has been discontinued. All your PCB design, data management and collaboration needs can now be delivered by Altium Designer and a connected Altium 365 Workspace. Check out the FAQs page for more information.

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.