Query_Lang-PCBFunctions_Fields_PadXSize_AllLayersPadXSize_AllLayers_AD
Parent page: PCB Query Functions - Fields
Summary
Returns all simple pad objects, whose X Size (All Layers) property complies with the Query.
Syntax
PadXSize_AllLayers : 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(
PadXSize_AllLayers) : Number
– to specify a size in mil.AsMM(
PadXSize_AllLayers) : Number
– to specify a size in mm.
Example Usage
PadXSize_AllLayers = 100
Returns all simple pad objects whose X Size (All Layers) property is equal to 100 current measurement units.
PadXSize_AllLayers >= 4.064
Returns all simple pad objects whose X Size (All Layers) property is greater than, or equal to, 4.064 current measurement units.
AsMils(PadXSize_AllLayers) > 80
Returns all simple pad objects whose X Size (All Layers) property is greater than 80mil.
AsMM(PadXSize_AllLayers) Between 1.524 And 3.81
Returns all simple pad objects whose X Size (All Layers) property is greater than or equal to 1.524mm
and less than or equal to 3.81mm
.
PadXSize_AllLayers <> 50
Returns all simple pad objects whose X Size (All Layers) property is not equal to 50 current measurement units.
Tips
- The X Size (All Layers) property is only defined for pads and vias whose Stack Mode property is set to Simple.