Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 848 Bytes

File metadata and controls

39 lines (29 loc) · 848 Bytes

CriteriaArea

Description

[[VS:Vectorworks 2012 Deprecated Functions|DEPRECATED after Vectorworks2012]]. See [[VS:AreaN|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 ====

Version

Availability: from VectorWorks12.0 Deprecated: [[VS:Vectorworks 2012 Deprecated Functions|Vectorworks 2012]]

Category

  • Criteria