[[VS:Vectorworks 2012 Deprecated Functions|DEPRECATED after Vectorworks2012]]. See [[VS:YCenterN|YCenterN]] for a replacement function.
Returns the y-coordinate of the center point of an object matching the serach criteria. If more than one object matches the search criteria, the function will return the sum of the coordinates of all the matching objects.
FUNCTION YCenter(c : CRITERIA): REAL;def vs.YCenter(c):
return REAL| Name | Type | Description |
|---|---|---|
| c | CRITERIA | Search criteria. |
==== VectorScript ====
YCenValue:=YCenter(N='Board');
{returns the y-coord of the center of the named object 'Board'}==== Python ====
Availability: from All Versions Deprecated: [[VS:Vectorworks 2012 Deprecated Functions|Vectorworks 2012]]
- Criteria