VS:VolumeN

From Vectorworks Developer
Revision as of 14:39, 12 August 2013 by Root (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

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


VolumeN will only return volumes on objects which support the solids modelling functions.

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

Parameters

c CRITERIA Search criteria.

Example

totalVol:=VolumeN((C='Empty Space'));

Version

Availability: from Vectorworks 2012