VS:DegFromStr

From Vectorworks Developer
Jump to navigation Jump to search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Converts slope from string format to degrees.

FUNCTION DegFromStr(
fSlopeDef :STRING;
fSlopeValue :STRING;
VAR fAngle :REAL) : BOOLEAN;
def vs.DegFromStr(fSlopeDef, fSlopeValue):
    return (BOOLEAN, fAngle)

Parameters

fSlopeDef STRING
fSlopeValue STRING
fAngle REAL

Version

Availability: from Vectorworks 2016