OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Emiliano on April 13, 2018, 04:24:18 AM

Title: Performance problem in AutoCAD 2019
Post by: Emiliano on April 13, 2018, 04:24:18 AM
Hello,
this problem seems to be present in AutoCAD 2018 and 2019, maybe even some previous version.
In the old AutoCAD 2011 and in all the BricsCAD versions the problem is not present.

I am attaching an example file to reproduce.
Perform the following steps:

I hope someone can help me understand what's wrong.

Best Regards,
Emiliano
Title: Re: Performance problem in AutoCAD 2019
Post by: owenwengerd on April 13, 2018, 04:45:53 PM
I did not notice any difference with the form open. I'm not sure what you meant by "tracing some lines". I used the LINE command to draw lines.
Title: Re: Performance problem in AutoCAD 2019
Post by: Emiliano on April 13, 2018, 10:08:56 PM
Quote from: owenwengerd on April 13, 2018, 04:45:53 PM
I did not notice any difference with the form open. I'm not sure what you meant by "tracing some lines". I used the LINE command to draw lines.

Hi,
for "tracing some lines" I intend to use the Line command repeatedly and quickly: as you can see it goes jerkily, the performances are reduced.
See the attached video here .... unfortunately, however, it is not easy in the video to understand the reduction in performance.

Best Regards,
Emiliano
Title: Re: Performance problem in AutoCAD 2019
Post by: Peter2 on April 15, 2018, 11:34:30 AM
Do you see any other behaviour, interesting to describe?

- does it happens with AutoCAD-palettes too?
- does it happen with other ODCL-apps (example from "opendcldemo" or other stuff)?
- do you see something in TaskManager - like heavy CPU load, caused by .... ??
Title: Re: Performance problem in AutoCAD 2019
Post by: Emiliano on April 16, 2018, 01:35:39 AM
Hi,
I am attaching a new complete test of the lisp code needed to load the OpenDCL runtime:
https://www.dropbox.com/s/fvoh2bhj7pwajtf/_TEST2.zip?dl=0

In the compressed file I also inserted 2 videos in which you can see the behavior of the CPU:

What's in my application that does not work ??

Thanks for your help.
Best Regards,
Emiliano
Title: Re: Performance problem in AutoCAD 2019
Post by: Emiliano on April 17, 2018, 08:33:05 AM
Has anyone managed to reproduce the problem?

In other words, when moving new lines, the movement of the cursor starts late
Title: Re: Performance problem in AutoCAD 2019
Post by: Emiliano on April 18, 2018, 09:36:38 AM
I've just installed AutoCAD 2019 on another pc and I encounter the same problem.
In the same pc there is also AutoCAD 2018 and everything works fine here.
All of this is very strange  :-\

Here you can download the complete installation file of the application:
https://we.tl/Ss8ZnqoV9z

Can someone verify if it is possible to solve the problem?

I did dozens of tests but all without success  :'(
AutoCAD 2019 is not unusable, however you may notice a reduction in performance during rapid drawing of objects; for example, when drawing a circle after inserting the center point, the real-time drawing of the circumference during the movement of the cursor is slightly jerky; if I close the palette of my software it becomes very fluid again.

Title: Re: Performance problem in AutoCAD 2019
Post by: Peter2 on April 18, 2018, 01:06:23 PM
There is a completely new small update for Acad 2019 - have you already installed and tested it?
Title: Re: Performance problem in AutoCAD 2019
Post by: Emiliano on April 19, 2018, 12:19:03 AM
Quote from: Peter2 on April 18, 2018, 01:06:23 PM
There is a completely new small update for Acad 2019 - have you already installed and tested it?

I do not see update for AutoCAD 2019 on the autodesk site.
Can you tell me the direct link?

Title: Re: Performance problem in AutoCAD 2019
Post by: Peter2 on April 19, 2018, 02:23:32 AM
Not all updates and hotfixes are visible for everybody.
Usually you have the go to your "personal account" via Internet Browser or you use your "AutoDESK Desktop App" (usually on your desktop)
Title: Re: Performance problem in AutoCAD 2019
Post by: Emiliano on April 19, 2018, 03:42:29 AM
Quote from: Peter2 on April 19, 2018, 02:23:32 AM
Not all updates and hotfixes are visible for everybody.
Usually you have the go to your "personal account" via Internet Browser or you use your "AutoDESK Desktop App" (usually on your desktop)

I logged in with my account and everything seems updated to the latest version.
I have the feeling that it is a problem of AutoCAD 2019 and/or OpenDCL 9.0.13

Question:
I found the problem on 2 different PCs. Did any of you do any tests with my project? What happens in your PCs?

Thanks in advance.