www.kxcad.net Home > Electronic Index > Altium(Protel) Index
Summary
Position.
Description
Returns all Sheet Entry objects having a Position property that complies with the Query.
Note: The SheetNetDistanceFromTop property is only defined for Sheet Entry objects.
Syntax
SheetNetDistanceFromTop : Numeric_String
SheetNetDistanceFromTop : Number {If all non-Sheet Entry objects are totally excluded by one or more preceding tokens within the Query.}
The SheetNetDistanceFromTop 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 non-Sheet Entry objects (which do not have a Position property) have been totally excluded by one or more preceding tokens within the Query. Examples of thus-compliant tokens are as follows:
(SheetNetDistanceFromTop <> '')
(SheetNetDistanceFromTop > '')
(ObjectKind = 'Sheet Entry')
IsSheetEntry
The usage of such tokens is demonstrated in the examples that follow.
Examples
SheetNetDistanceFromTop = '4'
(SheetNetDistanceFromTop <> '') And (SheetNetDistanceFromTop = 4)
Returns all Sheet Entry objects that have a Position property which is equal to 4.
(SheetNetDistanceFromTop > '') And (SheetNetDistanceFromTop Between 2 And 5)
Returns all Sheet Entry objects that have a Position property which is greater than or equal to 2 and less than or equal to 5.
(ObjectKind = 'Sheet Entry') And (SheetNetDistanceFromTop >= 3)
Returns all Sheet Entry objects that have a Position property which is greater than or equal to 3.
IsSheetEntry And (SheetNetDistanceFromTop < 6)
Returns all Sheet Entry objects that have a Position property which is less than 6.
SheetNetDistanceFromTop <> '1'
Returns all objects except Sheet Entry objects that have a Position property which is equal to 1. (Only Sheet Entry objects have a SheetNetDistanceFromTop property, so all remaining types of objects do not have a SheetNetDistanceFromTop property of 1, and are thus also returned by this Query.)
IsSheetEntry And (SheetNetDistanceFromTop <> 1)
Returns all Sheet Entry objects that have a Position property which is not equal to 1.