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.

GROSS BUG! - Hidden Edge by Section

Started by Dr PR, December 20, 2014, 08:07:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

V24.1 3/11/2014

I used "Edit/Hidden Edge By Section" to hide edges between sections of a perforated plate on layer 30 in a large drawing. All other layers were disabled.

Then I discovered that innumerable edges on other hidden/locked layers were also hidden - all through the drawing!

BUG!

Fortunately, I checked this (I don't know why) before I saved the drawing and was able to open the backup file. Otherwise the whole drawing (years of work) would have been ruined. I have backups but the last several days of work would have been lost. I lost only about an hours work.

****

If you need to use "Hidden Edge By Section" copy/paste the work to another blank drawing, hide the edges, and copy/paste back into the original drawing.

Phil
DesignCAD user since 1987

JJG

Dr PR,

rather than to use "copy and paste" to a blank drawing to do a possibly back-up-copy, you may use "save as copy", which is better and much much faster !

But having said that, I understand that this bug is really annoying ; thank you very much to warn other users !

Dr PR

JJG,

True, but there is an advantage to the copy/paste when you are working on very large drawings. The new drawing you paste into is much smaller and things happen faster. I do this a lot when I am working with drawings that take many tens of seconds to regenerate the image. So I guess I have just gotten into the habit of copy/paste.

One problem with the "Save As" method is that you end up with a corrupted drawing on your hard drive after using "Hidden Edge By Section," and you really should erase it afterward. This effects of this bug are pretty subtle and can go unnoticed for a long time. You really do not ever want to open the corrupted "Save As" drawing and start using it again.

Now I am a bit paranoid. I have used "Hidden Edge By Section" for years, on dozens of drawings that I have been creating for a decade or more. I don't know when this bug was introduced so it is possible I could have to redo years of work because of it.

Phil
DesignCAD user since 1987

samdavo

#3
Quote from: Dr PR on December 20, 2014, 08:07:27 PM
V24.1 3/11/2014

I used "Edit/Hidden Edge By Section" to hide edges between sections ... All other layers were disabled.
... Then I discovered that innumerable edges on other hidden/locked layers were also hidden
Probably not new to you Phil, but it doesn't happen in V22.1   cheers
sam

PS It is surely disappointing that V22 works ok, but V24 doesn't ??

PS Phil,  wouldn't Ctrl+Z have undone the problem?

prl

Phil, 

I tried a simple test in version 24 and it seems to behave as it did before, meaning it works as expected.  So you may need to investigate your circumstances a bit more. My test case file and test movie are attached.

A movie - Hiding Edges Test in version 24

Dr PR

Sam,

"Undo" might reverse the problem IF it is discovered immediately after it happens. But this is a very subtle bug - it changes things on disabled layers so you can't see the changes. You might not discover it for days or weeks.

One other problem with "Undo" in large files -  it is EXTREMELY slow! The time required to undo an operation depends upon the total file size (F) and the number/size of the objects (N) that were selected or modified. Each of these introduces an exponential factor X^F and X^N, so in large drawings where a large number of objects were altered, the undo takes a very long time (X^F * X^N, or X^F*N, or [X^F]^N).

In very large drawings the "Undo" operation can take hours! This is not an exaggeration - I timed an "Undo" once, and after almost two hours it hadn't finished. I shut down the program and started over.

I have developed a phobia about Undo and I will do almost anything to avoid having to use it. I save the drawing frequently so I can restart without having lost much work. In most cases I can shut down DesignCAD without saving the drawing, restart the program, open the file and redraw the missing parts much faster than the program can undo the last operation!

Phil
DesignCAD user since 1987

samdavo

#6
Phil, you're right about "undo" being a bit unreliable in this application.

Actually, here's a strange phenomenon with "Undo" :- ...

In 2D mode, I draw 7 lines, 1 in each of layers 1 to 7 - all are visible and unlocked  (with some text also present).
I change to 3D so that "hidden edge by section" is no longer greyed out.
I use "hidden edge by section" and hide all the lines - nothing except text is visible.
I use Ctr +Z to undo.
Layers 1, 3, 5 and 7 become visible - layers 2, 4, 6 are still hidden.  (although this can vary if you repeat this several times)

Note that it is possible to unhide layers 2, 4, and 6 if you use "hidden edge" on just those lines.
I enclose the dcd in case anyone wants to experiment.
(2 cents)

PS V22.1


prl

I'm assuming Phil is tracking down the specifics of his report (or a sample file) since I can't reproduce the problem in version 24.