Query_Lang-PCBFunctions_Fields_HolePositiveToleranceHolePositiveTolerance_AD
This document is no longer available beyond version 21.0. Information can now be found here: HolePositiveTolerance for version 25
Parent page: PCB Query Functions - Fields
Summary
Returns all pad and via objects whose Hole Tolerance (+) property complies with the Query.
Syntax
HolePositiveTolerance : 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(HolePositiveTolerance) : Number
– to specify a tolerance in mil.AsMM(HolePositiveTolerance) : Number
– to specify a tolerance in mm.
Example Usage
HolePositiveTolerance = 4
Returns all pad and via objects that have a Hole Tolerance (+) property which is equal to 4
current measurement units.
HolePositiveTolerance >= 5.08
Returns all pad and via objects that have a Hole Tolerance (+) property which is greater than or equal to 5.08
current measurement units.
AsMils(HolePositiveTolerance) > 4
Returns all pad and via objects that have a Hole Tolerance (+) property which is greater than 4mil
.
AsMM(HolePositiveTolerance) Between 0.102 And 0.105
Returns all pad and via objects that have a Hole Tolerance (+) property which is greater than or equal to 0.102mm
and less than or equal to 0.105mm
.
HolePositiveTolerance <> 2
Returns all pad and via objects that have a Hole Tolerance (+) property which is not equal to 2 current measurement units.
AsMils(HolePositiveTolerance) <= 1.4
Returns all pad and via objects that have a Hole Tolerance (+) property which is less than or equal to 1.4mil
.
AsMM(HolePositiveTolerance) < 0.05
Returns all pad and via objects that have a Hole Tolerance (+) property which is less than 0.05mm
.
Tips
- The Hole Tolerance (+) property is only defined for pad and via objects.