Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 849 Bytes

Height.md

File metadata and controls

47 lines (37 loc) · 849 Bytes

Height

Description

Returns the height of an object. If more than one object matches the search criteria, the function will return the sum of all the matching object heights.

FUNCTION Height(c : CRITERIA): REAL;
def vs.Height(c):
    return REAL

Parameters

Name Type Description
c CRITERIA Search criteria.

Examples

VectorScript

HeightValue:=Height(N='North Wall');

Python

HeightValue = vs.Height((N='North Wall'))
resultVal := Height(c);
import vs

# Returns the height of an object.
c = "(SEL=TRUE)"  # selection criteria - all selected objects

value = vs.Height(c)
vs.Message('Height returned: ' + str(value))

Version

Availability: from All Versions

Category