CornerLocationX

Now reading version 19.0. For the latest, read: CornerLocationX for version 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 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.

 

Note

The features available depend on your level of Altium Designer Software Subscription.