Query_Lang-PCBFunctions_Fields_AutoPositionAutoPosition_AD

Parent page: PCB Query Functions - Fields

Summary

Returns all designator and comment objects (child text objects of component objects) whose Autoposition property complies with the Query.

Syntax

AutoPosition = AutoPosition_String
AutoPosition <> AutoPosition_String

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

  • 'Center'
  • 'Center-Above'
  • 'Center-Below'
  • 'Left-Above'
  • 'Left-Below'
  • 'Left-Center'
  • 'Manual'
  • 'Right-Above'
  • 'Right-Below'
  • 'Right-Center'

Example Usage

AutoPosition = 'Center'
Returns all designator and comment objects whose Autoposition property is Center.

AutoPosition <> 'Manual'
Returns all objects except designator and comment objects whose Autoposition property is Manual.

Tips

  1. The single quote characters (') at the start and end of AutoPosition_String are mandatory.
  2. The Autoposition property is only defined for designator and comment objects.

 

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