Query_Lang-PCBFunctions_Fields_ClassTypeClassType_AD
Created: September 08, 2015 | Updated: August 11, 2021
| Applies to 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
Now reading version 20. For the latest, read: Query_Lang-PCBFunctions_Fields_ClassType((ClassType))_AD for version 21
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.