IsMechanicalComponent

Now reading version 20.0. For the latest, read: IsMechanicalComponent for version 21
Applies to Altium Designer versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2

Parent page: PCB Query Functions - Attribute Checks

Summary

Returns component objects whose Component Type property is Mechanical. These components do not have electrical properties, are not synchronized (you must manually place them in both editors), and are included in the BOM. An example is a heatsink.

Syntax

IsMechanicalComponent : Boolean/Boolean_String

Example Usage

IsMechanicalComponent
IsMechanicalComponent = True
IsMechanicalComponent = 'True'

Returns all component objects whose Component Type property is set to Mechanical.

Not IsMechanicalComponent
IsMechanicalComponent = False
IsMechanicalComponent = 'False'

Returns all objects except component objects whose Component Type property is set to Mechanical.

Tips

  1. The associated child primitive objects are not returned by this Query.

 

Note

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