Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.01 KB

File metadata and controls

39 lines (29 loc) · 1.01 KB

XCenter

Description

Vectorworks 2012 Deprecated Functions__Vectorworks 2012 Deprecated Functions. See XCenterN for a replacement function.

Returns the x-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 XCenter(c : CRITERIA): REAL;
def vs.XCenter(c):
    return REAL

Parameters

Name Type Description
c CRITERIA Search criteria.

Examples

VectorScript

XCenValue:=XCenter(N='Board');
{returns the x-coord of the center of the named object 'Board'}

Python

Version

Availability: from All Versions Deprecated: Vectorworks 2012 Deprecated Functions

Category