Vectorworks 2012 Deprecated Functions. See ZCenterN for a replacement function.
Returns the z-coordinate value of the center of an object matching the search criteria.
FUNCTION ZCenter(c : CRITERIA): REAL;def vs.ZCenter(c):
return REAL| Name | Type | Description |
|---|---|---|
| c | CRITERIA |
resultVal := ZCenter(c);import vs
# _Vectorworks 2012 Deprecated Functions_.
c = "(SEL=TRUE)" # selection criteria - all selected objects
value = vs.ZCenter(c)
vs.Message('ZCenter returned: ' + str(value))Availability: from Vectorworks14.0 Deprecated: Vectorworks 2012 Deprecated Functions