Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 899 Bytes

File metadata and controls

40 lines (29 loc) · 899 Bytes

YCenter

Description

[[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

Parameters

Name Type Description
c CRITERIA Search criteria.

Examples

==== VectorScript ====

YCenValue:=YCenter(N='Board');
{returns the y-coord of the center of the named object 'Board'}

==== Python ====

Version

Availability: from All Versions Deprecated: [[VS:Vectorworks 2012 Deprecated Functions|Vectorworks 2012]]

Category

  • Criteria