ClassType

Now reading version 20.0. For the latest, read: ClassType for version 21

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.

 

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

The features available depend on your Altium product access level. Compare features included in the various levels of Altium Designer Software Subscription and functionality delivered through applications provided by the Altium 365 platform.

If you don’t see a discussed feature in your software, contact Altium Sales to find out more.