CompCenterY
Parent page: PCB Query Functions - Attribute Checks
Summary
Returns component objects when the Y-Coordinate of the centroid of all of their child objects complies with the Query.
Syntax
CompCenterY : Number
Example Usage
CompCenterY = 1200
Returns all component objects when the Y-Coordinate of the centroid of all of their child objects is equal to 1200mil.
CompCenterY >= 1500
Returns all component objects when the Y-Coordinate of the centroid of all of their child objects is greater than, or equal to, 1500mil.
CompCenterY Between 1000 And 1400
Returns all component objects when the Y-Coordinate of the centroid of all of their child objects is greater than, or equal to, 1000mil, and less than, or equal to, 1400mil.
CompCenterY < 800
Returns all objects except component objects when the Y-Coordinate of the centroid of all of their child objects is greater than, or equal to, 800mil.
Tips
- The associated child objects of the complying component objects are also returned.