Query_Lang-PCBFunctions_LayerChecks_OnMechanicalOnMechanical_AD

This document is no longer available beyond version 4. Information can now be found here: OnMechanical for version 5

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 - Layer Checks

Summary

Returns all objects on any enabled Mechanical layers.

Syntax

OnMechanical : Boolean

Example Usage

OnMechanical
OnMechanical = True
Returns all objects on any enabled Mechanical layers.

Not OnMechanical
OnMechanical = False
Returns all objects except objects on any enabled Mechanical layers.

 

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