InComponent

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

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 - Membership Checks

Summary

Returns the part objects whose Component Designator property complies with the Query.

Syntax

InComponent(Component Designator 1 : String,Component Designator 2 : String,...,Component Designator n : String) : Boolean/Boolean_String

Example Usage

InComponent('U1')
InComponent('U1') = True
InComponent('U1') = 'True'

Returns the part objects whose Component Designator property is U1.

InComponent('U1','J1','R1')
InComponent('U1','J1','R1') = True
InComponent('U1','J1','R1') = 'True'

Returns the part objects whose Component Designator property is U1, or J1, or R1.

Tips

  1. The child objects of the returned part objects, are not returned.
  2. This keyword is an alias for the InPart keyword.