InComponent

Now reading version 19.1. For the latest, read: InComponent for version 21
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.

Parent page: Schematic Query Functions - Membership Checks

Summary Copy Link Copied

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

Syntax Copy Link Copied

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

Example Usage Copy Link Copied

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 Copy Link Copied

  1. The child objects of the returned part objects, are not returned.
  2. This keyword is an alias for the InPart keyword.
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.