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.

Failed To Open - V21

Started by SEJ, September 15, 2011, 06:25:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SEJ

History repeats itself...

I was in on a thread a few years ago: http://forum.designcad.com/index.php?topic=2126.0
I had moved up to 17.2 on an XP machine and had the "Failed To Open" problem.
My work around for several years was to save in an older file format V15 or so. Eventually the problem just disappeared and V17.2 saved and opened without complaint.

A few months ago I was forced into a new mashine with Win7 (motherboard went south) and decided to bite the bullet and get V21 hoping for better performance.  Well what I got was dejavoodoo.

This time, I was able to keep 17.2 on the new machine, and it was able to open the file that V21 had saved, but refuse to open.  Some of the solids are acting strange but I'm able to keep working.  After opening with V17.2 and saving from that, V21 would open the file.  But saving under current version from V21 created the same problem over again.

I still have to experiment with saving under old version work around, but has anyone out there figured out what causes this??
Oh yea, spell check in this forum gives me a blank popup, just one more?/Problem.

SEJ
If Murphy hasn't bothered you, then you're not doing anything.

Dr PR

SEJ,

The spellcheck problem appeared a couple months ago. No idea why, but several people have reported it.

****

I didn't follow what you wrote about the file not opening. If you save it from V21 it won't open again in V21? Or in V17? Or both? Or is it a file saved from V17 that won't open in V21?

****

You said some solids were "acting strange." How so?

One thing you might try in V21 is repacking the group and solid IDs. This will cause the drawing list to be reshuffled a bit and maybe that will fix (or break) something. Be sure to make a backup copy first!

Tools/Groups/Pack Group IDs

Solids/Pack Solid IDs.

One of the problems in earlier versions of DesignCAD was that if you reused a file over and over the maximum group and solid ID numbers crept up until the variable overflowed. For example, opening a file and deleting everything except the title box, then using this as the start of a new file. When the ID number overflowed (at about 16000 in V17) the program became very squirrely. I had V17 files that could no longer be opened after I edited and saved them, and I had one file that would crash DesignCAD. After repacking the group IDs the problems went away.

V21 still has this potential problem, but the Max Group/Solid ID has been increased to a very large number. Still, it is good to repack the group and solid IDs occasionally.

****

Note: Each group and solid has an ID number. The program keeps track of the highest ID number in a drawing. When you create a new group/solid object it will be assigned a number one greater that the previous high, and a new Max ID will be created. Deleting groups or solids does not repack the remaining IDs, so the maximum ID number continues to increase. Eventually it will become too large to fit in the assigned variable. When this happens it wraps around to Zero and starts increasing from there.

The problem is that there may already be a group or solid with a low ID number. When a new group/solid is created and it gets the ID number of an already existing group/solid, the entities of the two will be merged - if you are lucky. It may just make the file unuseable.

Repacking the group and solid IDs renumbers all starting at 1 and counting up with no unused numbers. This sets the new Max ID to 1 plus the number of objects.

Phil
DesignCAD user since 1987

SEJ

Dr. PR,
Clarification:

Working on a 3D isometric plumbing diagram using V21.  Began with 2D floorplan as reference.  Began building 3D objects (HW tank, pipes, valves, fittings, etc).  After assembling about 20 objects problem arose.  File had always been saved from V21 using default "DesignCAD Current Version".  Went to bed and next day double-clicked file and V21 fired up.  Screen began setting up 3D tiles and then bingo here comes message about unable to open file. Tried .bak file version and had same problem.

I did an Open With and used V17.2 which complained about using older version to open V21 file.  At first glance no real problems, then when I tried to select a fitting it became apparent there was one.  Seems that the solids all got exploded in the V17 read.  OK, I can select each one, and redefine it as a solid.  Saved using V17 format.  Reopened using V21 and everything seemed fine, until I tried to scale a piece of pipe to make it longer.  When I changed the Z scale to 12 (leaving X and Y at 1) the whole thing enlarged *12 on all 3 axis.  I deleted that object and brought in a new symbol and it seems to be ok.  I did notice that one of the solids default name was "Solid 112".

I'm currently using the V21 but I make sure I save the primary copy in V17.  Just for "Murphy's Sake" I also save a copy in V21.  Since I've used DC since the DOS days, saving is a natural habit.  The .bak's help but don't always work, and I do wish I had an option for them to save to a different directory.

I'll look into the Solids Packing thing and see if that helps.  Thanks for your help and input.
SEJ
If Murphy hasn't bothered you, then you're not doing anything.

metrognome

#3
I'm having the same problem. Wondering how to resolve this?
Recently purchased DC Max V21.1. I Have been using V17.2, as a hobby, off and on for couple of years and have been satisfied.
V21, at first, opened the V17 files no problem. Saved each with a new addendum to the file name. Opened each a time or two OK.
Now the error message "Failed to Open Document" with no explanation why.
I have not altered my XP sp3 machine in any way except for the installation and subsequent 'repair' installation of V21 as an attempt to
solve this.
The newly saved files will open with V17.2 but not V21.1
Y'all pulled me through my initial learning curve a couple of years ago as a 70yr old dog trying to learn new tricks.
Any ideas?
Win10, core i-3, 6G ram, Dcad v25.2

Dr PR

This is odd. I have been using V21 for quite a while now, on an XP Pro SP3 machine and a Vista 64 SP1 machine (mostly on the Vista machine).

I have edited quite a few files of varying sizes - up to 200 Mbytes. Some of these were started in V21 but many date back to V15. I haven't seen the "can't open file" problem with V21.

As I said, I did have the problem not long after V17 came out, and it was caused by group ID overflow. I suppose the same thing could occur from solid ID overflow. But V21 has maximum ID values many times larger than V17, so if this was the problem the files would crash V17 and not V21!

I wonder what "can't open file" really means. DT, any ideas?

Phil
DesignCAD user since 1987

magic

Hi all,

If you're running Windows XP, it might be an idea to do a Disk Defragmentation. It's a suggestion that I haven't put to anyone for a long time, but sometimes it solves even the most hardcore problems.

You'll find the Disk Defragmentation at All Programs>Accessories>System Tools.

Best of luck.
It's a kind of magic!