Hello,
Is there any way you can get the current system unit type, store it, change the systemtype for your script and restore the system type to the original one at the end of your script?
Example :
My script works in meters but the guy using it is set up in inches.
How do I get to know if he has inches, feet, ... so I can temporary change the setup in meters for my script to work properly and then restore it to inches so the user has no problems.
I know how you can set the units ==> " units.SystemType = #meters "
but I don't know how to get the current units
If i try ==> " Variable = units.SystemType " I get an error...
grtz
miauu · 2012-03-30
jos · 2012-03-29