Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1023 Bytes

File metadata and controls

41 lines (30 loc) · 1023 Bytes

RightBound

Description

[[VS:Vectorworks 2012 Deprecated Functions|DEPRECATED after Vectorworks2012]]. See [[VS:RightBoundN|RightBoundN]] for a replacement.

Returns the x-coordinate of the bounding box (bottom right corner) of an object matching the search 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 RightBound(c : CRITERIA): REAL;
def vs.RightBound(c):
    return REAL

Parameters

Name Type Description
c CRITERIA Search criteria.

Remarks

It would be nice if this would return the rightmost coordinate of the matching objects. Don't see how the sum of coordinates can be of any use.

Examples

==== VectorScript ====

RightBValue:=RightBound(N='MyRect');

==== Python ====

Version

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

Category

  • Criteria