Altium Designer Documentation

Query_Lang-SCHFunctions_MembershipChecks_Object_OrientationObject_Orientation_AD

Created: September 19, 2015 | Updated: August 19, 2021

Parent page: Schematic Query Functions - Membership Checks

Summary

Returns all child objects of parameter set, part, pin, and probe objects, whose Orientation property complies with the Query.

Syntax

Object_Orientation(Parent) = Orientation_String
Object_Orientation(Parent) <> Orientation_String

Orientation_String must be one of the strings from the following list:

  • '0 Degrees'
  • '90 Degrees'
  • '180 Degrees'
  • '270 Degrees'

Example Usage

Object_Orientation(Parent) = '90 Degrees'
Returns all child objects of parameter set, part, pin, and probe objects, whose Orientation property is 90 Degrees.

Object_Orientation(Parent) <> '180 Degrees'
Returns all objects except child objects of parameter set, part, pin, and probe objects, whose Orientation property is 180 Degrees.

Object_Orientation(Parent) <> '' && Object_Orientation(Parent) <> '180 Degrees'
Object_Orientation(Parent) > '' && Object_Orientation(Parent) <> '180 Degrees'
Returns all child objects of parameter set, part, pin, and probe objects, whose Orientation property is not 180 Degrees.

Tips

  1. The Orientation property is defined for designator, harness connector type, hyperlink, IEEE symbol, net label, off sheet connector, parameter, parameter set, part, pin, power port, probe, sheet symbol designator, sheet symbol file name, and text string objects. However, only parameter set, part, pin, and probe objects can have children that are returnable by this expression.
  2. The single quote characters (') at the start and end of Orientation_String are mandatory.

 

Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.

Contact Us

Contact our corporate or local offices directly.

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
You are reporting an issue with the following selected text
and/or image within the active document: