CompCenterOfPadsX
This document is no longer available beyond version 21. Information can now be found here: CompCenterOfPadsX for version 25
The features available depend on your Altium product access level. Compare features included in the various levels of Altium Designer Software Subscription and functionality delivered through applications provided by the Altium 365 platform.
If you don’t see a discussed feature in your software, contact Altium Sales to find out more.
Parent page: PCB Query Functions - Attribute Checks
Summary Copy Link Copied
Returns component objects when the X-Coordinate of the centroid of their pads complies with the Query.
Syntax Copy Link Copied
CompCenterOfPadsX : Number
Example Usage Copy Link Copied
CompCenterOfPadsX = 1200
Returns all component objects when the X-Coordinate of the centroid of their pads is equal to 1200mil.
CompCenterOfPadsX >= 1500
Returns all component objects when the X-Coordinate of the centroid of their pads is greater than, or equal to, 1500mil.
CompCenterOfPadsX Between 1000 And 1400
Returns all component objects when the X-Coordinate of the centroid of their pads is greater than, or equal to, 1000mil, and less than, or equal to, 1400mil.
CompCenterOfPadsX < 800
Returns all objects except component objects when the X-Coordinate of the centroid of their pads is greater than, or equal to, 800mil.
Tip Copy Link Copied
- The associated child objects of the complying component objects are also returned.