Convert a string representation of a volume value to a real number in cubic millimeters.
FUNCTION Str2Volume(str : STRING): REAL;def vs.Str2Volume(str):
return REAL| Name | Type | Description |
|---|---|---|
| str | STRING | The string representation of the angle value. |
resultVal := Str2Volume('Example');import vs
# Convert a string representation of a volume value to a real number in cubic
# millimeters.
str = 'Example'
vol = vs.Str2Volume(str)
vs.Message('Str2Volume returned: ' + str(vol))Availability: from Vectorworks 2014