Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 686 Bytes

File metadata and controls

38 lines (29 loc) · 686 Bytes

Str2Angle

Description

Convert a string representation of an angle value to a real number in degrees.

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

Parameters

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

Examples

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

# Convert a string representation of an angle value to a real number in degrees.
str = 'Example'

angle = vs.Str2Angle(str)
vs.Message('Str2Angle returned: ' + str(angle))

Version

Availability: from Vectorworks 2014

Category