Query_Lang-SCHFunctions_MembershipChecks_Object_LengthObject_Length_AD

您正在阅读的是 18.1. 版本。关于最新版本,请前往 Query_Lang-SCHFunctions_MembershipChecks_Object_Length((Object_Length))_AD 阅读 21 版本

Parent page: Schematic Query Functions - Membership Checks

Summary

Returns all child objects of pin objects whose Length property complies with the Query.

Syntax

Object_Length(Parent) : Numeric_String
Object_Length(Parent) : Number

The Object_Length keyword can always be used in conjunction with a Numeric_String. It can alternatively be used in conjunction with a Number, but only when specifically targeting pin objects using the following preceding entry within the Query expression: IsPin.

Example Usage

Object_Length(Parent) = '30'
Returns all child objects of pin objects whose Length property is equal to 30.

Object_Length(Parent) Between '20' And '40'
Returns all child objects of pin objects whose Length property is greater than or equal to 20 and less than or equal to 40.

Object_Length(Parent) >= '10'
Returns all child objects of pin objects whose Length property is greater than or equal to 10.

Object_ObjectKind(Parent) = 'Pin' && Object_Length(Parent) < 30
Returns all child objects of pin objects whose Length property is less than 30.

Object_Length(Parent) <> '40'
Returns all objects except child objects of pin objects whose Length property is equal to 40.

Object_ObjectKind(Parent) = 'Pin' && Object_Length(Parent) <> 40
Returns all child objects of pin objects except those pin objects whose Length property is 40.

Tips

  1. The Length property is only defined for pin objects.

 

可用的功能取决于您的 Altium Designer 软件订阅级别