Returns the Y coordinate of the object relative to the user origin.
FUNCTION YCoordinate(c : CRITERIA): REAL;def vs.YCoordinate(c):
return REAL| Name | Type | Description |
|---|---|---|
| c | CRITERIA | The search criteria string. |
Valid objects are PIOs, Symbols and Loci.
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))Availability: from Vectorworks 2011