Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 765 Bytes

ZCoordinate.md

File metadata and controls

41 lines (31 loc) · 765 Bytes

ZCoordinate

Description

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

Parameters

Name Type Description
c CRITERIA The search criteria string.

Remarks

Valid objects are PIOs, Symbols and Loci

Examples

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

Version

Availability: from Vectorworks 2011

Category