Query_Lang-SCHFunctions_Fields_ComponentTypeComponentType_AD
Created: 八月 28, 2015 | Updated: 八月 13, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
您正在阅读的是 3.1. 版本。关于最新版本,请前往 Query_Lang-SCHFunctions_Fields_ComponentType((ComponentType))_AD 阅读 4 版本
Parent page: Schematic Query Functions - Fields
Summary
Returns all part objects whose Component Type property 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 parts whose Component Type is Graphical
.
ComponentType <> 'Standard'
Returns all objects except parts whose Component Type is Standard
.
Tips
- The Component Type property is only defined for part objects.
- The single quote characters (') at the start and end of
ComponentType_String
are mandatory.