Query_Lang-PCBFunctions_MembershipChecks_InComponentClassInComponentClass_AD

您正在阅读的是 2.1. 版本。关于最新版本,请前往 Query_Lang-PCBFunctions_MembershipChecks_InComponentClass((InComponentClass))_AD 阅读 4 版本

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: PCB Query Functions - Membership Checks

Summary

Returns all component objects that are members of the specified Component Class.

Syntax

InComponentClass(ClassName : String) : Boolean/Boolean_String

As you define the Query expression, a pop-up list of all existing user-defined component classes, by name, is presented.

Example Usage

InComponentClass('TopSideSMD')
InComponentClass('TopSideSMD') = True
InComponentClass('TopSideSMD') = 'True'

Returns all component objects that are members of the TopSideSMD Component Class.

Not InComponentClass('BottomSideSMD')
InComponentClass('BottomSideSMD') = False
InComponentClass('BottomSideSMD') = 'False'

Returns all objects except component objects that are members of the BottomSideSMD Component Class.

Tips

  1. The single quote characters (') at the start and end of the ClassName string are mandatory.