Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 748 Bytes

YCoordinate.md

File metadata and controls

41 lines (31 loc) · 748 Bytes

YCoordinate

Description

Returns the Y coordinate of the object relative to the user origin.

FUNCTION YCoordinate(c : CRITERIA): REAL;
def vs.YCoordinate(c):
    return REAL

Parameters

Name Type Description
c CRITERIA The search criteria string.

Remarks

Valid objects are PIOs, Symbols and Loci.

Examples

resultVal := YCoordinate(c);
import vs

# Returns the Y coordinate of the object relative to the user origin.
c = "(SEL=TRUE)"  # selection criteria - all selected objects

value = vs.YCoordinate(c)
vs.Message('YCoordinate returned: ' + str(value))

Version

Availability: from Vectorworks 2011

Category