Altium Designer Documentation

Query_Lang-SCHFunctions_Fields_PartDisplayModePartDisplayMode_AD

Created: September 16, 2015 | Updated: August 17, 2021

Parent page: Schematic Query Functions - Fields

Summary

Returns all part objects whose Display Mode property complies with the Query. Each part has a standard display mode, called Normal. In additiona, a part can have up to 255 alternate display modes (Alternate 1 - Alternate 255).

Syntax

PartDisplayMode = PartDisplayMode_String
PartDisplayMode <> PartDisplayMode_String

PartDisplayMode_String specifies the part display mode, and must be one of the following strings:

  • 'Normal'
  • 'Alternate 1'
  • 'Alternate 2'
  • .
  • .
  • .
  • 'Alternate 255'

Example Usage

PartDisplayMode = 'Normal'
Returns all part objects whose Display Mode property is Normal.

PartDisplayMode <> 'Alternate 1'
Returns all objects except part objects whose Display Mode property is Alternate 1.

IsPart && PartDisplayMode <> 'Normal'
Returns all part objects except those whose Display Mode property is Normal.

Tips

  1. The single quote characters (') at the start and end of PartDisplayMode_String are mandatory.
  2. The Display Mode property is only defined for part objects.

 

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

Contact Us

Contact our corporate or local offices directly.

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: