Hi
I export from Argis into Excel I am try to get Rotation to the mtext when I import into Autocad
in the Excel file I got Angle from Argis
how can I use Angel to Rotation the Mtext in Autocad
acMText.Rotation = "-26.621873" this is the Angle from Argis the Rotation is wrong if I use this number
Regards
Sgear
Solved! Go to Solution.
Solved by Sgear. Go to Solution.
Hi,
That number looks like sexagesimal degrees (the common degree full circle equal 360 degress), but may also be a centesimal degree (full circle equal 400 degrees, surveryors use it), try converting to radians before pass the value to mtext.rotation property.
Gaston Nunez
Thanks gasty1001
This fix my problem
mtx.Rotation = angle * Math.PI / 180.0
Regards
sgear