Query_Lang-SCHFunctions_Fields_PartDisplayModePartDisplayMode_AD

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.

 

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