Query_Lang-SCHFunctions_Fields_CornerLocationXCornerLocationX_AD

This document is no longer available beyond version 21. Information can now be found here: CornerLocationX for version 24

Parent page: Schematic Query Functions - Fields

Summary

Returns all blanket, bus entry, compile mask, harness connector, image, note, rectangle, round rectangle, sheet symbol and text frame objects whose X2 property complies with the Query.

Syntax

CornerLocationX : Numeric_String
CornerLocationX : Number

The CornerLocationX keyword can always be used in conjunction with a Numeric_String. It can alternatively be used in conjunction with a Number, but only when using a preceding entry within the Query expression, targeting the required object type(s), such as IsBusEntry, IsRectangle, etc.

Example Usage

CornerLocationX = '1400'
Returns all blanket, bus entry, compile mask, harness connector, image, note, rectangle, round rectangle, sheet symbol and text frame objects whose X2 property is 1400.

CornerLocationX Between '150' And '430'
Returns all blanket, bus entry, compile mask, harness connector, image, note, rectangle, round rectangle, sheet symbol and text frame objects whose X2 property is greater than, or equal to, 150, and less than, or equal to, 430.

IsRectangle Or IsRoundRectangle && CornerLocationX >= 250
Returns all rectangle and round rectangle objects whose X2 property is greater than, or equal to, 250.

IsSheetSymbol && CornerLocationX < 350
Returns all sheet symbol (sheet symbol, device sheet symbol, managed sheet instance symbol) objects whose X2 property is less than 350.

CornerLocationX <> '210'
Returns all objects except blanket, bus entry, compile mask, harness connector, image, note, rectangle, round rectangle, sheet symbol and text frame objects whose X2 property is 210.

Tips

  1. The X2 property is only defined for blanket, bus entry, compile mask, harness connector, image, note, rectangle, round rectangle, sheet symbol and text frame objects.

 

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

您可以使用的功能取决于您的 Altium 订阅级别。如果您在软件中找不到某个功能,请联系 Altium 的销售人员以获取更多信息。