Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 699 Bytes

File metadata and controls

39 lines (30 loc) · 699 Bytes

Str2Area

Description

Convert a string representation of an area value to a real number in square millimeters.

FUNCTION Str2Area(str : STRING): REAL;
def vs.Str2Area(str):
    return REAL

Parameters

Name Type Description
str STRING The string representation of the area value.

Examples

resultVal := Str2Area('Example');
import vs

# Convert a string representation of an area value to a real number in square
# millimeters.
str = 'Example'

area = vs.Str2Area(str)
vs.Message('Str2Area returned: ' + str(area))

Version

Availability: from Vectorworks 2014

Category