Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 710 Bytes

File metadata and controls

39 lines (30 loc) · 710 Bytes

Str2Volume

Description

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

Parameters

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

Examples

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))

Version

Availability: from Vectorworks 2014

Category