Query_Lang-PCBFunctions_Fields_ClassTypeClassType_AD
Created: September 08, 2015 | Updated: August 11, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
Now reading version 1.1. For the latest, read: Query_Lang-PCBFunctions_Fields_ClassType((ClassType))_AD for version 4
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.