[[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| Name | Type | Description |
|---|---|---|
| c | CRITERIA | Search criteria. |
==== VectorScript ====
totalA:=Area((C='Plywood')and(L='First'));
{returns the area of all objects in class 'Plywood' on layer 'First'}==== Python ====
Availability: from VectorWorks12.0 Deprecated: [[VS:Vectorworks 2012 Deprecated Functions|Vectorworks 2012]]
- Criteria