Use this forum to ask questions about DataCAD 22 and DataCAD LT 22.
#79499 by mijenix
Tue Mar 23, 2021 6:18 pm
I just upgraded to DataCAD 22 and have run into a problem when I draw a line by putting in a distance and angle. If I type in the distance and 0 it will draw the line at the correct angle, but if I type in the distance and an angle of 90 it will draw the line the correct distance but it draws it at an angle of 242. Other angles give similar problems. I am using Rel Polar input and my start angle is correct. Another strange thing is if I click to draw a line and move the mouse around to different angles it displays them properly. Anyone know what might be causing this.

Thank you
#79504 by Mark F. Madura
Wed Mar 24, 2021 8:59 am
mijenix wrote:If I type in the distance and 0 it will draw the line at the correct angle, but if I type in the distance and an angle of 90 it will draw the line the correct distance but it draws it at an angle of 242. Other angles give similar problems. I am using Rel Polar input and my start angle is correct. Another strange thing is if I click to draw a line and move the mouse around to different angles it displays them properly. Anyone know what might be causing this.

Fixed for the next build. The constant for Pi was getting 'stepped on' by another constant with a value of 21. This is why a string of '90' was getting converted to 241.547... degrees instead of 90.0 degrees.

Sorry about that. :oops:

Who is online

Users browsing this forum: No registered users and 20 guests

About DataCAD Forum

The DataCAD Forum is a FREE online community we provide to enhance your experience with DataCAD.

We hope you'll visit often to get answers, share ideas, and interact with other DataCAD users around the world.

DataCAD

Software for Architects Since 1984