Query_Lang-PCBFunctions_Fields_PadYOffsetPadYOffset_AD
This document is no longer available beyond version 21. Information can now be found here: PadYOffset for version 25
Parent page: PCB Query Functions - Fields
Summary
Returns all pad objects whose Pad Y Offset property complies with the Query.
Syntax
PadYOffset : 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(PadYOffset) : Number
– to specify an offset in mil.AsMM(PadYOffset) : Number
– to specify an offset in mm.
Example Usage
PadYOffset
= 2
Returns all pad objects that have an Pad Y Offset property which is 2 current measurement units.
PadYOffset
>= 0.2286
Returns all pad objects that have an Pad Y Offset property which is greater than, or equal to, 0.2286 current measurement units.
AsMils(PadYOffset
) Between 0.5 And 0.6
Returns all pad objects that have an Pad Y Offset property which is greater than, or equal to, 0.5mil and less than, or equal to, 0.6mil.
AsMM(PadYOffset
) < 0.2794
Returns all pad objects that have an Pad Y Offset property which is less than 0.2794mm.
Tips
- The Pad Y Offset property is only defined for pad objects.
- The Pad Y Offset property corresponds to the Offset From Hole Center Y field, when viewing the properties for a selected pad on the Properties panel.