Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 983 Bytes

SurfaceAreaN.md

File metadata and controls

44 lines (34 loc) · 983 Bytes

SurfaceAreaN

Description

Returns the surface area of the items matching the specified criteria. If more than one object matches the search criteria, the sum of all the surface areas of the matching objects will be returned.

SurfaceAreaN will only return areas on objects which support the solids modelling functions.

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

Parameters

Name Type Description
c CRITERIA Search criteria.

Examples

totalArea:=SurfaceAreaN((C='Empty Space'));
resultVal := SurfaceAreaN(c);
import vs

# Returns the surface area of the items matching the specified criteria.
c = "(SEL=TRUE)"  # selection criteria - all selected objects

area = vs.SurfaceAreaN(c)
vs.Message('SurfaceAreaN returned: ' + str(area))

Version

Availability: from Vectorworks 2012

Category