OnMechanical

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

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.

 

Note

The features available depend on your level of Altium Designer Software Subscription.