www.kxcad.net Home > Electronic Index > Altium(Protel) Index
Summary
Y location of specified object.
Description
Returns all child objects of all Parameter Set, Part, Pin, Port, and Sheet Symbol objects having a Y1 property that complies with the Query.
Syntax
Object_LocationYParent) : Numeric_String
Object_LocationY(Parent) : Number {If all parent objects which do not have a Y1 property are totally excluded by one or more preceding tokens within the Query.}
The Object_LocationY 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 parent objects which do not have a Y1 property have been totally excluded by one or more preceding tokens within the Query. Examples of thus-compliant tokens are as follows:
(Object_LocationY(Parent) <> '')
(Object_LocationY(Parent) > '')
(Object_ObjectKind(Parent) <> 'Sheet Entry')
(Object_ObjectKind(Parent) = 'Part')
The usage of such tokens is demonstrated in the examples that follow.
Examples
Object_LocationY(Parent) = '320'
(Object_LocationY(Parent) <> '') And (Object_LocationY(Parent) = 320)
Returns all child objects of all Parameter Set, Part, Pin, Port, and Sheet Symbol objects that have a Y1 property which is equal to 320.
(Object_LocationY(Parent) > '') And (Object_LocationY(Parent) Between 150 And 430)
Returns all child objects of all Parameter Set, Part, Pin, Port, and Sheet Symbol objects that have a Y1 property which is greater than or equal to 150 and less than or equal to 430.
(Object_ObjectKind(Parent) <> 'Sheet Entry') And (Object_LocationY(Parent) >= 250)
Returns all child objects of all Parameter Set, Part, Pin, Port, and Sheet Symbol objects that have a Y1 property which is greater than or equal to 250.
(Object_ObjectKind(Parent) = 'Part') And (Object_LocationY(Parent) < 350)
Returns all child objects of all Part objects that have a Y1 property which is less than 350.
Object_LocationY(Parent) <> '210'
Returns all objects except child objects of Parameter Set, Part, Pin, Port, and Sheet Symbol objects that have a Y1 property which is equal to 210.
(Object_LocationY(Parent) > '') And (Object_LocationY(Parent) <> 210)
Returns all child objects of all Parameter Set, Part, Pin, Port, and Sheet Symbol objects that have a Y1 property which is not equal to 210.