TextWidth
The features available depend on your Altium product access level. Compare features included in the various levels of Altium Designer Software Subscription and functionality delivered through applications provided by the Altium 365 platform.
If you don’t see a discussed feature in your software, contact Altium Sales to find out more.
Parent page: PCB Query Functions - Fields
Summary Copy Link Copied
Returns all coordinate, original dimension and text string (comment, designator, free) objects whose Text Width property complies with the Query.
Syntax Copy Link Copied
TextWidth : 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(TextWidth) : Number
– to specify a width in mil.AsMM(TextWidth) : Number
– to specify a width in mm.
Example Usage Copy Link Copied
TextWidth
= 6
Returns all coordinate, original dimension and text string (comment, designator, free) objects that have an Text Width property which is 6 current measurement units.
TextWidth
>= 0.127
Returns all coordinate, original dimension and text string (comment, designator, free) objects that have an Text Width property which is greater than, or equal to, 0.127 current measurement units.
AsMils(TextWidth
) Between 4 And 8
Returns all coordinate, original dimension and text string (comment, designator, free) objects that have an Text Width property which is greater than, or equal to, 4mil and less than, or equal to, 8mil.
AsMM(TextWidth
) < 0.1778
Returns all coordinate, original dimension and text string (comment, designator, free) objects that have an Text Width property which is less than 0.1778mm.
Tips Copy Link Copied
- The Text Width property is only defined for coordinate, original dimension and text string (comment, designator, free) objects.