Query_Lang-PCBFunctions_Fields_ClassTypeClassType_AD
Created: 八月 02, 2022 | Updated: 八月 02, 2022
| Applies to version: 21
This document is no longer available beyond version 21.0. Information can now be found here: ClassType for version 25
Parent page: PCB Query Functions - Fields
Summary
Returns all class objects whose Class Type property complies with the Query.
Syntax
ClassType = ClassType_String
ClassType <> ClassType_String
ClassType_String
must be one of the strings from the following list:
- 'Component Class'
- 'Design Channel'
- 'DiffPair Class'
- 'From To Class'
- 'Layer Class'
- 'Net Class'
- 'Pad Class'
- 'Polygon Class'
- 'Structure Class'
- 'xSignal Class'
Example Usage
ClassType = '
Component Class'
Returns all class objects whose Class Type property is Component Class.
ClassType <> '
Layer Class'
Returns all objects except class objects whose Class Type property is Layer Class.
Tips
- The Class Type property is only defined for class objects.
- The single quote characters (') at the start and end of
ClassType_String
are mandatory.