Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 880 Bytes

ZCenter.md

File metadata and controls

41 lines (31 loc) · 880 Bytes

ZCenter

Description

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

Parameters

Name Type Description
c CRITERIA

Examples

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))

Version

Availability: from Vectorworks14.0 Deprecated: Vectorworks 2012 Deprecated Functions

Category