Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 987 Bytes

CriteriaArea.md

File metadata and controls

45 lines (35 loc) · 987 Bytes

CriteriaArea

Description

Vectorworks 2012 Deprecated Functions. See AreaN for a replacement.

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

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

Parameters

Name Type Description
c CRITERIA Search criteria.

Examples

VectorScript

totalA:=Area((C='Plywood')and(L='First'));
{returns the area of all objects in class 'Plywood' on layer 'First'}

Python

resultVal := CriteriaArea(c);
result = vs.CriteriaArea(c)

Version

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

Category