Query_Lang-SCHFunctions_MembershipChecks_InPartInPart_AD

Parent page: Schematic Query Functions - Membership Checks

Summary

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

Syntax

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

Example Usage

InPart('U1')
InPart('U1') = True
InPart('U1') = 'True'

Returns the part objects whose Component Designator property is U1.

InPart('U1','J1','R1')
InPart('U1','J1','R1') = True
InPart('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 InComponent keyword.
注記

This documentation page contains information for an older version of Altium Designer. The latest, online documentation can be found here.