Returns the Z coordinate of the object relative to the object's layer plane.
FUNCTION ZCoordinate(c : CRITERIA): REAL;def vs.ZCoordinate(c):
return REAL| Name | Type | Description |
|---|---|---|
| c | CRITERIA | The search criteria string. |
Valid objects are PIOs, Symbols and Loci
resultVal := ZCoordinate(c);import vs
# Returns the Z coordinate of the object relative to the object's layer plane.
c = "(SEL=TRUE)" # selection criteria - all selected objects
value = vs.ZCoordinate(c)
vs.Message('ZCoordinate returned: ' + str(value))Availability: from Vectorworks 2011