Query_Lang-SCHFunctions_Fields_PartDisplayModePartDisplayMode_AD
This document is no longer available beyond version 21. Information can now be found here: PartDisplayMode for version 25
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
- The single quote characters (') at the start and end of
PartDisplayMode_String
are mandatory. - The Display Mode property is only defined for part objects.