www.kxcad.net Home > Electronic Index > Altium(Protel) Index
Summary
Start Angle.
Description
Returns all Arc, Elliptical Arc, and Pie objects having a Start Angle property that complies with the Query.
Note: The StartAngle property is only defined for Arc, Elliptical Arc, and Pie objects.
Syntax
StartAngle : Numeric_String
StartAngle : Number {If all objects which do not have a Start Angle property are totally excluded by one or more preceding tokens within the Query.}
The number returned specifies the Start Angle in units of degrees.
The StartAngle 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 Start Angle property have been totally excluded by one or more preceding tokens within the Query. Examples of thus-compliant tokens are as follows:
(StartAngle <> '')
(StartAngle > '')
(IsArc Or IsEllipticalArc Or IsPie)
IsPie
(IsArc Or IsEllipticalArc)
The usage of such tokens is demonstrated in the examples that follow.
Examples
StartAngle = '30'
(StartAngle <> '') And (StartAngle = 30)
Returns all Arc, Elliptical Arc, and Pie objects that have a Start Angle property which is equal to 30 degrees.
(StartAngle > '') And (StartAngle >= 60)
Returns all Arc, Elliptical Arc, and Pie objects that have a Start Angle property which is greater than or equal to 60 degrees.
(IsArc Or IsEllipticalArc Or IsPie) And (StartAngle Between 30 And 150)
Returns all Arc, Elliptical Arc, and Pie objects that have a Start Angle property which is greater than or equal to 30 degrees and less than or equal to 150 degrees.
IsPie And (StartAngle < 45)
Returns all Pie objects that have a Start Angle property which is less than 45 degrees.
StartAngle <> '135'
Returns all objects except Arc, Elliptical Arc, and Pie objects that have a Start Angle property which is equal to 135 degrees. (Only Arc, Elliptical Arc, and Pie objects have a StartAngle property, so all remaining types of objects do not have a StartAngle property of 135 degrees, and are thus also returned by this Query.)
(IsArc Or IsEllipticalArc) And (StartAngle <> 135)
Returns all Arc and Elliptical Arc objects that have a Start Angle property which is not equal to 135 degrees.
(StartAngle > '') And ((StartAngle Between 315 And 360) Or (StartAngle Between 0 And 45))
Returns all Arc, Elliptical Arc, and Pie objects that have a Start Angle property which is greater than or equal to 315 degrees and less than or equal to 45 degrees.
See Also
EndAngle