Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 821 Bytes

File metadata and controls

39 lines (29 loc) · 821 Bytes

Length

Description

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

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

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

Parameters

Name Type Description
c CRITERIA Search criteria.

Examples

==== VectorScript ====

LengthValue:=Length(C='CrossMembers');
{returns the length of all objects in class 'CrossMembers'}

==== Python ====

Version

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

Category

  • Criteria