Query_Lang-SCHFunctions_Fields_ComponentTypeComponentType_AD

This document is no longer available beyond version 4. Information can now be found here: ComponentType for version 5

Nexus message

This documentation page references Altium NEXUS/NEXUS Client (part of the deployed NEXUS solution), which has been discontinued. All your PCB design, data management and collaboration needs can now be delivered by Altium Designer and a connected Altium 365 Workspace. Check out the FAQs page for more information.

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

  1. The Component Type property is only defined for part objects.
  2. The single quote characters (') at the start and end of ComponentType_String are mandatory.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.