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.

Groups from Version 13 cause all open sessions of Dcad to crash.

Started by RacerX, February 13, 2008, 08:57:35 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

RacerX

Ran across an oddity while working yesterday.  I created a map in version 18.1, 2d only, multiple layers but nothing extreme, since we are still having print issues with version 18 I save the file, open Dcad version 13.0.013, open my file and set everything to print.  In this case I has a last minute change so I went ahead and made my changes in version 13, in this case it was a 2-d box filled with solid hatching with text over top of it.  I grouped the box, hatching, and text, saved, and printed.  Later, I opened the file in version 18 again to make some more changes and as soon as I clicked on the grouped objects/text both version 18 and version 13 crashed.  I was able to recover by reopening the file in version 13 and ungrouping everything, but I wonder what the cause of the main issue was.  Anyone else have a similar issue or have any ideas why this would happen?

dcadRob

You want to go from 18 to 13 and then back to 18 again? And have both programs loaded simultaniously? Why would anyone expect to edit a file with software separated by 5 major version changes?  The fact that you could create something in 18 and edit it successfully with 13 is amazing enough!

Dr PR

RacerX,

In moving back and forth between V18/13/18 did you save the file from V18 in V13 format, or did you open the V18 file in V13? I have opened V18.1 files in V12 and have seen no problems, but it is a better idea to save the file from V18 in the V13 format ("File/Save As/Save as type").

Was the map you created from V18.1 entirely new, or did you use an existing file as a template, delete most of the contents, and then add your new map information? If it was an existing file, how long have you been using the basic template?

There is a bug in DesignCAD that will crash any version exactly as you describe, but it only occurs with files that have been edited many, many times. Every time you create a group a variable called "Max Group ID" will be incremented one or more times. Copying a group can increment the variable many times. Deleting groups does not decrement the count, so this number continues to grow with time. Eventually Max Group ID exceeds 16,384 (2^14) - after this trying to do anything with any group causes the program to crash. Note, you may have only a few groups in the file at any one time, but the "ghost" of every group that was ever created since the original file was created still remains. It doesn't take very long to create and delete 16,000 groups.

I have attached a macro (gc.d3m) to count groups (I think this came from the Troll originally). Run it from "Tools/Macro Execute" and see what the Max Group ID number is. If it is more than 16,000 let us know. Somewhere on the Forum are instructions how to solve the problem.

DesignCAD user since 1987

RacerX

Okay, I was pointing this out as an interesting bug, not as a major issue, as I stated in my post I already fixed the issue, I was just wondering if this was a "normal" bug, or if it was just some random issue, I've run the group count macro (an unrelated issue) and I was no where near the limit.  If I had a choice in the matter I would only use version 18, but, since the print issue in 18 has not been resolved I either print to .pdf (which causes distortion) or print out of version 13, also, since 18 is compatible with 13, I do expect it to work, call me crazy, but, when the designers say A will work with B, I take them at their word, I appreciate the sincere efforts to help with this non-problem, as I said, just found it odd, not a real issue.