Altium NEXUS Documentation

Query_Lang-PCBFunctions_Fields_ClassTypeClassType_AD

Created: September 8, 2015 | Updated: August 11, 2021

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

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

 

Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.

Contact Us

Contact our corporate or local offices directly.

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
You are reporting an issue with the following selected text
and/or image within the active document: