Query_Lang-PCBFunctions_Fields_TextOffsetFromInvertedRectangleTextOffsetFromInvertedRectangle_AD
This document is no longer available beyond version 4. Information can now be found here: TextOffsetFromInvertedRectangle for version 5
Parent page: PCB Query Functions - Fields
Summary
Returns all text string (comment, designator, free) objects whose Inverted Text Offset From Inverted Rect property complies with the Query.
Syntax
TextOffsetFromInvertedRectangle : Number
Number
will follow the measurement units currently employed for the document – either Imperial (mil; 1mil = 0.001inch) or Metric (mm; 1mm = 0.001meter).
A specific option for the measurement unit can be specified – overriding the default units specified at the document level – through use of an additional measurement unit-based keyword:
AsMils(TextOffsetFromInvertedRectangle) : Number
– to specify an offset in mil.AsMM(TextOffsetFromInvertedRectangle) : Number
– to specify an offset in mm.
Example Usage
TextOffsetFromInvertedRectangle = 3
Returns all text string (comment, designator, free) objects that have a Inverted Text Offset From Inverted Rect property which is equal to 3
current measurement units.
TextOffsetFromInvertedRectangle >= 5.08
Returns all text string (comment, designator, free) objects that have a Inverted Text Offset From Inverted Rect property which is greater than or equal to 5.08
current measurement units.
AsMils(TextOffsetFromInvertedRectangle) > 4
Returns all text string (comment, designator, free) objects that have a Inverted Text Offset From Inverted Rect property which is greater than 4mil
.
AsMM(TextOffsetFromInvertedRectangle) Between 0.635 And 0.889
Returns all text string (comment, designator, free) objects that have a Inverted Text Offset From Inverted Rect property which is greater than or equal to 0.635mm
and less than or equal to 0.889mm
.
TextOffsetFromInvertedRectangle <> 5.5
Returns all text string (comment, designator, free) objects that have a Inverted Text Offset From Inverted Rect property which is not equal to 5.5 current measurement units.
AsMils(TextOffsetFromInvertedRectangle) <= 2.5
Returns all text string (comment, designator, free) objects that have a Inverted Text Offset From Inverted Rect property which is less than or equal to 2.5mil
.
AsMM(TextOffsetFromInvertedRectangle) < 0.143
Returns all text string (comment, designator, free) objects that have a Inverted Text Offset From Inverted Rect property which is less than 0.143mm
.
Tips
- The Inverted Text Offset From Inverted Rect property is only defined for text string (comment, designator, free) objects.