Query_Lang-PCBFunctions_Fields_ViaSize_MidLayer20ViaSize_MidLayer20_AD

Nexus message

This documentation page references Altium NEXUS/NEXUS Client (part of the deployed NEXUS solution), which has been discontinued. All your PCB design, data management and collaboration needs can now be delivered by Altium Designer and a connected Altium 365 Workspace. Check out the FAQs page for more information.

Parent page: PCB Query Functions - Fields

Summary

Returns via objects whose X Size (Mid Layer 20) property complies with the Query.

Syntax

ViaSize_MidLayer20 : 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(ViaSize_MidLayer20) : Number – to specify a size in mil.
  • AsMM(ViaSize_MidLayer20) : Number – to specify a size in mm.

Example Usage

ViaSize_MidLayer20 = 100
Returns all via objects whose X Size (Mid Layer 20) property is equal to 100 current measurement units.

ViaSize_MidLayer20 >= 4.064
Returns all via objects whose X Size (Mid Layer 20) property is greater than, or equal to, 4.064 current measurement units.

AsMils(ViaSize_MidLayer20) > 80
Returns all via objects whose X Size (Mid Layer 20) property is greater than 80mil.

AsMM(ViaSize_MidLayer20) Between 1.524 And 3.81
Returns all via objects whose X Size (Mid Layer 20) property is greater than or equal to 1.524mm and less than or equal to 3.81mm.

ViaSize_MidLayer20 <> 50
Returns all via objects whose X Size (Mid Layer 20) property is not equal to 50 current measurement units.

Tips

  1. For simple vias (with Stack Mode set to Simple) the X Size (Mid Layer 20) property will be the same as the X Size (All Layers) property, since the specified size is used for all signal layers.
  2. For Top-Middle-Bottom vias (with Stack Mode set to Top-Middle-Bottom) the X Size (Mid Layer 20) property will be the same as the X Size (Mid Layer 1) property, since the size specified for Signal Layer 1 is applied to all internal ('middle') signal layers.
  3. When viewing the properties for a selected via in the Size and Shape section of the Properties panel, the X Size (Mid Layer 20) property corresponds to:
    1. The Diameter field for Mid Layer 20 when the mode is set to Full Stack.
    2. The Diameter field for Mid Layer 1 when the mode is set to Top-Middle-Bottom.
    3. The Diameter field when the mode is set to Simple.
  4. The X Size (Mid Layer 20) property is only defined for pad and via objects.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.