OnMechanical

Parent page: PCB Query Functions - Layer Checks

Summary

Returns all objects on any enabled Mechanical layers (Mechanical 1-32).

Syntax

OnMechanical : Boolean

Example Usage

OnMechanical
OnMechanical = True
Returns all objects on any enabled Mechanical layers (Mechanical 1-32).

Not OnMechanical
OnMechanical = False
Returns all objects except objects on any enabled Mechanical layers (Mechanical 1-32).

 

Note

This documentation page contains information for an older version of Altium Designer. The latest, online documentation can be found here.