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| Name | Type | Description |
|---|---|---|
| str | STRING | The string representation of the area value. |
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))Availability: from Vectorworks 2014