AVM Angle and VB-Script
UlliS from Germany  [42 posts]
5 years
Hello EDV,

the follow code dosnīt work with VB-Script...

AVM_angle = GetVariable("NV_LOCATION_ANGLE")
AVM_angle = AVM_angle * 57.29
SetVariable "AVM_angle", AVM_angle

- Ulli
EDV  [328 posts] 5 years
Try to use this code:

AVM_angle = GetFloatVariable("NV_LOCATION_ANGLE")
SetVariable "AVM_angle", AVM_angle * (180 / 3.1415926535897932384626433832795)
UlliS from Germany  [42 posts] 5 years
Works fine!

Thank you EDV...

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index