News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

FASTER DesignCAD REDRAWS

Started by jacklward, May 20, 2018, 07:35:08 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

jacklward

Is there anyway to get faster 2D Redraws?

IMSI previously told me, I needed to select the RedSDK option in 2018.

About 10 days ago I got a 2018 trial version and selected the RedSDK option.
WOW, redraws went from 6+ seconds each to instantaneous!
The more I tried using it the more bugs I found, dozens every day, not to mention how bad the text and lines looked on the screen.
Today I read in the forum where RedSDK will no longer be supported or part of DesignCAD!

>>>    Is there something similar to RedSDK to speed up redraws that actually works?

I only draw architectural plan.  I do NOT use 3D at all.

One of my larger drawings (7.5 MB with 4177 entities) currently takes 6+ seconds to redraw, others take nearly as long depending on their size.  Using BasicCAD with multiple redraws takes for ever whereas with RedSDK redraws were instantaneous.

Any help would be greatly appreciated.  Thank you.

My System Specs...
Windows 10 x64 (Latest Updates)
Intel Core i7-920 2.66ghz CPU
12gb DDR3 1600 Triple Chanel Memory
AMD Radeon HD 7850 2GB 256bit GDDR5 Memory Graphics Card
Seiki 39" 4K Monitor (3840x2180)

Rob S

Many of us agree that this is one of Designcads major issues, and after many years of programming effort, they never could get Red mode working properly, so I think it is rightfully being abandoned.

I do hope they will find ways to improve this situation, as it is certainly what is holding DCAD back.  Problem is, when they mess with the basic structure of the program, we fear what might get broken in the process.
User since forever

jacklward

Rob S,

Thanks for the reply, I have been dealing with DesignCAD's redraw getting slower with each new version of DesignCAD, the last test I did I found that my 2D drawings in 15 took about 1/2 the time of 20, 20 took about 1/2 the time of 23 and so on.  I thought RedSKD was the answer as all my 2D redraws became instantaneous in 2018 vs 6+ seconds in 2018 without RedSKD option checked.

Do you know of any current ways to speed up 2D redraws?

In BasicCAD before I do a series of changes and updates I zoom the screen to 1 pixel square so none of the screen updates take any time until I redraw the entire drawing, but the final redraw still takes 6+ seconds.

Any help would be appreciated.
Jack

My System Specs...
Windows 10 x64 (Latest Updates)
Intel Core i7-920 2.66ghz CPU
12gb DDR3 1600 Triple Chanel Memory
AMD Radeon HD 7850 2GB 256bit GDDR5 Memory Graphics Card
Seiki 39" 4K Monitor (3840x2180)

Rob S

Basiccad has a silent mode where it does not do any screen redraws until it is finished, I'll have a look and see if I can find it.

Some current options for speedup are to:

- use layers effectively so you can show only those layers you actually need for your current work,
- in particular layers containing text and dimensions take time to redraw
- draw components in separate files and combine later,
- use blocks where possible,
- close any unused windows ie containing separate views (more applicable to 3D.)
- avoid wide lines
- use point select mode only when needed (I like it always on)

One of my biggest problems has been to draw in 3D shaded mode, where the rubber band line slows to a crawl.   Red mode solved this, and I was beginning to use it for that, so wondering how the Update version will be for that.


User since forever

Lar

#4


Quote from: Rob S on May 20, 2018, 09:38:48 AM
Basiccad has a silent mode where it does not do any screen redraws until it is finished, I'll have a look and see if I can find it.


sys(36) - Silent mode (0=off, 1=silent mode, 2=extra-silent mode, make sure return to 0 at end of macro)


In silent mode, the screen does not automatically show the points you set, or update the drawing screen as frequently. This mode is used for greater speed when your macro has complete control of the program and you are not expecting user input.

Silent mode 2 completely suppresses view regeneration and drawing command dialog boxes when you draw entities.
Note: After performing any drawing operations in Silent Mode 2, you will need to manually regenerate the screen after setting Silent Mode back to zero.
Note: You should always return silent mode to zero when your macro exits. Failure to do so may result in improper manual operation of DesignCAD.


Lar's note: from my experience it seems error messages are suppressed as well. You will get the audio tone but no message. In such cases I use bedug mode ...sys(800)=1... to track down the error.


Lar

Rob S

Exactly, thanks, I got busy on other things and failed to complete my mission...
User since forever

jacklward

Rob & Lar,
Thank you for your replies, I will try the silent mode.
Unfortunately the real problem remains.
Based on the RedSKD start to failure time frame, I doubt that IMSI is not going to solve DesignCAD's incredibly slow redraws anytime soon or maybe ever.
If I were doing 3D with 20+ minute redraws instead of 2D with 6+ second redraws I would quickly say good by to IMSI.

Lar


I work with 3D averaging between 10 and 25 megs, with lots of symbols and blocks (so the file size don't accurately reflect the amount of content), always 4 windows, not a particularly super laptop. My redraws are normally less than 10 seconds. Never ever 20 minute. If I open the layer dialog and click 'show all' it could take 20+ seconds to turn everything on. I never work with all my layers on though, lots of support stuff that will never get printed.


With my 4 windows dcad does that repetitive redraw bs but fortunately for me pressing Esc stops the redraw of a window (except while a series hatches or blocks are being redrawn). Once one window halts another begins so I just have to keep hitting Esc until dcad gives up. Some times to zoom to an area not visible in any window I would zoom full first and immediately hit Esc (because it only takes a split second to see enough that I know where to zoom in on), then I zoom in on where I want and once I see enough of what I need to work on I Esc again (with most zoom commands only the active window regens so no repetitive bs).


When opening layers all the windows redraw so to speed this process up I use layer macros that don't include the regen command. When you eliminate the redraws the new layers turn on/off immediately, I think. If layers were turned on I would then have to refresh only the active window, employing my Esc technique. If layers were turned off I don't refresh, just start working. I would eventually zoom and that would correct things.


I think these redrawing issues will eventually be stories you tell your next borns. From what I read in a post here, with large 4k monitors (ie, at least 40") you barely have to zoom in or out, just lean closer. Like working on the drawing board us to be, I guess.


Lar




Dr PR

Lar,

I have been frustrated by the failure of ESC to halt redraws. It does halt the redraw if the object currently being drawn, but then the next object starts to redraw. The entire redraw of the window doesn't stop. I have to press ESC for every visible object in the drawing. Some of my files have almost a million objects. When an unwanted redraw starts (I really try to avoid it) I use CTRL-ALT-DEL to bring up Task Manager and kill DesignCAD. It is just faster to restart the program than wait for the endless redraws to continue.

Jack,

I have posted some tips for enhancing DesignCAD's speed here:

http://forum.designcad.com/index.php?topic=7115.0

Phil
DesignCAD user since 1987

Lar


Phil,


I know from your posts over the years that Esc doesn't work for you, and I remember way back when it didn't work for me. But, for something like 5, 10 years now, pressing Esc halts the window redrawing. Once it halts another window
would
start to redraw but I just hit esc again. Only if a series of hatches or blocks are being redrawn would the window not halt. Even when dragging a window and it stutters (as it crosses a shaded window, for example) I can hit esc and the window will jump to catch up with the mouse (if no stuttering is happening hitting esc will cause the window to go back to where it came from, which is normal for many windows programs).


Lar

Dr PR

Lar,

I just tried it with V27.0 27-Feb-18 and ESCape does stop wireframe redraws.

However, it does not stop redraws when the display is changed from wireframe to OpenGL Gouraud shading the first time. The message

"To stop redraw: press Esc"

appears in the status bar, but nothing happens when I press ECSape.

Also, nothing happens when I click the "Cancel" button in the Settings dialog.

However, after waiting 20-30 minutes for the shading to finish, the program will then redraw the display in wireframe.

The only thing that will stop the shading redraw is CTRL-ALT-DEL to bring up Task Manager to kill DesignCAD.

This is the problem with ESCape not stopping redraws that I have been referring to.

****

It is a real problem if I open a drawing from the recent drawings list - you don't get the option to "Ignore view shading flags." If the drawing is very large it can take up to an hour or more to open it if it was saved with shading enabled! CTRL-ALT-DEL again!

Phil

Note: In earlier versions ESCape also failed to stop redraws if many objects were deleted while the screen view was shaded. In some cases the screen was being redrawn after each individual object was deleted, instead of waiting until all selected objects were deleted. If a grid had been exploded, the screen redrew after each polygon facet was deleted - you could watch as each tiny bit disappeared one by one! It took a very long time for the redraw to finish - CTRL-ALT-DEL again!

I don't know if this is still happening. I have developed a habit of changing to wireframe before making any changes to a drawing.
DesignCAD user since 1987

jacklward

#11
Back on Topic...Faster 2D Redraws

Apparently there is no currently available way to speed up 2D redraws.

Now that I know instantaneous redraws are possible, that's what I want, that's an upgrade I'm willing to pay for as is nearly every DesignCAD user.

I used RedSKD for only a couple of days 2 weeks ago while trying out 2018, every file I tried redrew instantaneously, press the key it was done vs 6+ seconds without RedSKD.  Instead of fixing the bugs IMSI abandoned it so we are all back to square one.  6+ seconds per redraw doesn't sound that bad until you are editing large drawings on a 4K screen, some days I spend as much time waiting for redraws as I do drawing.  Zoom in, edit an item, zoom out, zoom in, edit another, etc.

My company and I started with ProDesign, we have hundreds of BasicCAD, VB6 and Auto HotKeys programs, literally thousands of hours of programming invested in DesignCAD.  I have done most of the programming and while I personally think DesignCAD was a great program, its redraw problem is going to lead to its demise.  If we didn't have so much invested we would have quit using it after v15.

I don't have time to try a lot of other programs, but all that I have tried, seem to be getting faster while DesignCAD gets slower.  Some don't have redraw issues at all.

It would be interesting to see how much slower 2D redraws have actually gotten, for example, DesignCAD 2018 vs DesignCAD v15.  2018 may not even run on a v15 era computer but if it did I bet v15 would be many times faster than 2018, not just 2+ times faster when both are run on my 10 year old i7-920 cpu computer. 

Frankly, I don't agree with IMSI's decision to abandon RedSKD without any apparent solution to fix DesignCAD's redraw speed.

What happens now?  How many years and versions will it take for IMSI to actually do something about the redraw problem, if they ever do?

I'm afraid that if it is not fixed sooner rather than later, DesignCAD will continue to loose market share until IMSI abandons DesignCAD too.

Jack

My System Specs...
Windows 10 x64 (Latest Updates)
Intel Core i7-920 2.66ghz CPU
12gb DDR3 1600 Triple Chanel Memory
AMD Radeon HD 7850 2GB 256bit GDDR5 Memory Graphics Card
Seiki 39" 4K Monitor (3840x2180)



Lar

#12

Jack,
If you are referring to my post when you say "instantaneous redraws are possible" I didn't say ' instantaneous redraws' are possible, I said the layers are turned on instantaneously when using a layer macro. Big difference. The layers are on but you still can't see the layer changes until the screen gets regenerated somehow. Usually after running the macro I zoom in on where I know the stuff I want to see is, and that's how the screen gets regenerated, but the regen would be faster than for the previous view.

Phil,
I don't try to halt a shaded open gl regen, mainly because after a small delay everything appears at the same time. But, I can now remember previously pressing esc during the delay and the shaded view appeared, but with some of the entities missing. However, everything that is visible is fully visible, ie, no blank masking where unseen entities are in front of seen entities. So, it appears dcad renders each entity fully starting from the stuff farthest away, which is probably why it takes so long to render. I can easily test this by timing a rendering then place a solid box around everything and timing the rendering again. If the 2nd takes just about as long as the first then dcad rendered every entity even though only the box would be visible in the final image (so it would have no code to disregard stuff that would be totally unseen in the final rendering)(by the way, if dcad is rendering this way then in my opinion dcad renders very fast, it just goes about it the long way).

I remember back in the late 90 doing a final rendering with SolidWorks and it visibly rendered each 3-point facet one at a time, but what wouldn't be seen in the final rendering didn't render, so you would see gaps in the image until everything was done. I imagine by now they have improved this method but I'm referencing it to demonstrate that the rendering process can be coded to ignore unseen stuff (that was a final rendering though, so it wasn't super fast).

Unfortunately, I can't halt a shaded orbit from rendering in Cinema 4D (to see their rendering process), mainly because c4d's shaded orbits are real time, fortunately.

Lar

jacklward

Lar,

I was NOT referring to anything you said.  I assume you are referring to this sentence in my post...

"Now that I know instantaneous redraws are possible, that's what I want, that's an upgrade I'm willing to pay for as is nearly every DesignCAD user."

I thought the very next sentence explained clearly how I knew instantaneous redraws were not only possible but in fact, currently working in DesignCAD 2018 using RedSKD.

"I used RedSKD for only a couple of days 2 weeks ago while trying out 2018, every file I tried redrew instantaneously, press the key it was done vs 6+ seconds without RedSKD."

Jack

jacklward

#14
If anyone is interested...I did some testing today with respect to redraws which I am sending to IMSI
Using the same 2D drawing containing 3228 entities and 1.1 MB file size (2D Architectural Plan).
Pressing the redraw shortcut key and the stop watch at the same time, and stopping it when the last entity appears.
I did this several times for each version I tested (all tries were within 0.1 seconds), below are the times.

3D 2018 using RedSKD......................0.01 Seconds (Obviously an Estimate)
3D v15.............................................1.7 Seconds
3D v20.............................................3.0 Seconds
3D 2018...........................................6.3 Seconds
3D v23.............................................6.8 Seconds

No one in my office wanted to give up v15 but v20 was far superior except for redraws.
After trying v23 everyone in my office went back to v20.
The same thing happened with 2016 3D, back to v20.
The same thing is now happening with 2018 3D, we are all going back to v20 even though it is not supported by IMSI.
It is a shame that RedSKD is apparently not going to be supported by IMSI in 2018 3D or 2D.

My System Specs...
Windows 10 x64 (Latest Updates)
Intel Core i7-920 2.66ghz CPU
12gb DDR3 1600 Triple Chanel Memory
AMD Radeon HD 7850 2GB 256bit GDDR5 Memory Graphics Card
Seiki 39" 4K Monitor (3840x2180)