Query_Lang-PCBFunctions_Fields_ComponentTypeComponentType_AD
Created: September 02, 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 19. For the latest, read: Query_Lang-PCBFunctions_Fields_ComponentType((ComponentType))_AD for version 21
Parent page: PCB Query Functions - Fields
Summary
Returns all component objects having a Component Type property that complies with the Query.
Syntax
ComponentType = ComponentType_String
ComponentType <> ComponentType_String
ComponentType_String
must be one of the strings from the following list:
- 'Graphical'
- 'Jumper'
- 'Mechanical'
- 'Net Tie'
- 'Net Tie (In BOM)'
- 'Standard'
- 'Standard (No BOM)'
Example Usage
ComponentType = 'Graphical'
Returns all components whose Component Type is Graphical
.
ComponentType <> 'Standard'
Returns all objects except components whose Component Type is Standard
.
Tips
- The Component Type property is only defined for component objects.
- The child objects of components returned by the Query are not returned.
- The single quote characters (') at the start and end of
ComponentType_String
are mandatory.