Altium Designer Documentation

Query_Lang-SCHFunctions_MembershipChecks_Object_LengthObject_Length_AD

Created: 19.09.2015 | Updated: 19.08.2021

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.

 

Обнаружили проблему в этом документе? Выделите область и нажмите Ctrl+Enter, чтобы оповестить нас.

Связаться с нами

Связаться с нашими Представительствами напрямую

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
Вы сообщаете о проблеме, связанной со следующим выделенным текстом
и/или изображением в активном документе: