Altium Designer Documentation


Created: November 1, 2018 | Updated: November 1, 2018
您正在阅读的是18.1版本。 关于最新版本,请前往阅读21版本

Parent page: PCB Query Functions - Fields


Returns all objects whose Layer property complies with the Query.


Layer = Layer_String
Layer <> Layer_String

Layer_String is the name of the layer as it appears on the Layers & Colors tab of the View Configuration panel.

Example Usage

Layer = 'MultiLayer'
Returns all objects on the Multi-Layer.

Layer <> 'KeepOutLayer'
Returns all objects except for those on the Keep-Out layer.


  1. The single quote characters (') at the start and end of Layer_String are mandatory.
  2. This function is an alias for the L function.


Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.



We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
You are reporting an issue with the following selected text
and/or image within the active document: