Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 819 Bytes

File metadata and controls

39 lines (29 loc) · 819 Bytes

Perim

Description

[[VS:Vectorworks 2012 Deprecated Functions|DEPRECATED after Vectorworks2012]]. See [[VS:PerimN|PerimN]] for a replacement.

Returns the perimeter of an object. If more than one object matches the search criteria, the function will return the sum of the matching objects' perimeters.

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

Parameters

Name Type Description
c CRITERIA Search criteria.

Examples

==== VectorScript ====

PerimValue := Perim(C='Fence');
{returns the total perimeter of all objects in the class 'Fence'}

==== Python ====

Version

Availability: from All Versions Deprecated: [[VS:Vectorworks 2012 Deprecated Functions|Vectorworks 2012]]

Category

  • Criteria