Query_Lang-PCBFunctions_Fields_BarCodeMinWidthBarCodeMinWidth_AD
This document is no longer available beyond version 21. Information can now be found here: BarCodeMinWidth for version 25
Parent page: PCB Query Functions - Fields
Summary
Returns all text string objects whose BarCode Min Width property complies with the Query.
Syntax
BarCodeMinWidth : 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(BarCodeMinWidth) : Number
– to specify a width in mil.AsMM(BarCodeMinWidth) : Number
– to specify a width in mm.
Example Usage
BarCodeMinWidth = 10
Returns all text string objects that have a BarCode Min Width property which is equal to 10
current measurement units.
BarCodeMinWidth >= 5
Returns all text string objects that have a BarCode Min Width property which is greater than or equal to 5
current measurement units.
AsMils(BarCodeMinWidth) > 4
Returns all text string objects that have a BarCode Min Width property which is greater than 4mil
.
AsMM(BarCodeMinWidth) Between 6.35 And 8.89
Returns all text string objects that have a BarCode Min Width property which is greater than or equal to 6.35mm
and less than or equal to 8.89mm
.
BarCodeMinWidth <> 5.50
Returns all text string objects that have a BarCode Min Width property which is not equal to 5.50 current measurement units.
AsMils(BarCodeMinWidth) <= 6.50
Returns all text string objects that have a BarCode Min Width property which is less than or equal to 6.50mil
.
AsMM(BarCodeMinWidth) < 6.43
Returns all text string objects that have a BarCode Min Width property which is less than 6.43mm
.
Tips
- The BarCode Min Width property is only defined for text string objects.
- Use of this keyword will also return the text string child primitive objects of group design objects (component, coordinate, dimension, drill table, and layer stack table objects), whose BarCode Min Width property complies with the Query. Should you wish to target solely text string objects that have been configured as barcode text, use an additional keyword prefix to target those objects. An example query expression would be IsBarCodeText And (
BarCodeMinWidth
= 6.25).