CornerLocationY Field

www.kxcad.net Home > Electronic Index > Altium(Protel) Index


Your Ad Here

Summary

Y2.

Description

Returns all Bus Entry, Image, (non-Polyline) Line, Rectangle, Round Rectangle, Sheet Symbol, and Text Frame objects having a Y2 property that complies with the Query.

Note: The CornerLocationY property is only defined for Bus Entry, Image, (non-Polyline) Line, Rectangle, Round Rectangle, Sheet Symbol, and Text Frame objects.

Note: Line objects can be of either a Line nature or a Polyline nature; the former have just two vertices, and only exist in files which were created using earlier versions of Protel. The latter can have more than two vertices, and are always created whenever the 'Place Line' command is used in DXP.

Syntax

CornerLocationY : Numeric_String

CornerLocationY : Number {If all objects which do not have a Y2 property are totally excluded by one or more preceding tokens within the Query.}

The CornerLocationY keyword can always be used in conjunction with a Numeric_String; it can alternatively be used in conjunction with a Number, but only when all objects which do not have a Y2 property have been totally excluded by one or more preceding tokens within the Query. Examples of thus-compliant tokens are as follows:

(CornerLocationY <> '')

(CornerLocationY > '')

(IsRectangle Or IsRoundRectangle)

IsSheetSymbol

The usage of such tokens is demonstrated in the examples that follow.

Examples

CornerLocationY = '320'

(CornerLocationY <> '') And (CornerLocationY = 320)

Returns all Bus Entry, Image, (non-Polyline) Line, Rectangle, Round Rectangle, Sheet Symbol, and Text Frame objects that have a Y2 property which is equal to 320.

 

(CornerLocationY > '') And (CornerLocationY Between 150 And 430)

Returns all Bus Entry, Image, (non-Polyline) Line, Rectangle, Round Rectangle, Sheet Symbol, and Text Frame objects that have a Y2 property which is greater than or equal to 150 and less than or equal to 430.

 

(IsRectangle Or IsRoundRectangle) And (CornerLocationY >= 250)

Returns all  Rectangle and Round Rectangle objects that have a Y2 property which is greater than or equal to 250.

 

IsSheetSymbol And (CornerLocationY < 350)

Returns all Sheet Symbol objects that have a Y2 property which is less than 350.

 

CornerLocationY <> '210'

Returns all objects except Bus Entry, Image, (non-Polyline) Line, Rectangle, Round Rectangle, Sheet Symbol, and Text Frame objects that have a Y2 property which is equal to 210. (Only Bus Entry, Image, (non-Polyline) Line, Rectangle, Round Rectangle, Sheet Symbol, and Text Frame objects have a CornerLocationY property, so all remaining types of objects do not have a CornerLocationY property of 210, and are thus also returned by this Query.)

 

(CornerLocationY > '') And (CornerLocationY <> 210)

Returns all Bus Entry, Image, (non-Polyline) Line, Rectangle, Round Rectangle, Sheet Symbol, and Text Frame objects that have a Y2 property which is not equal to 210.

Your Ad Here