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.

Drawing Failed to Open, v19.x, Vista

Started by Lar, June 04, 2009, 06:03:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lar

Hi folks,

I have a drawing I completed in v17.2 early this year in Win XP. Recently I had to make some changes, which I started doing in 19.0. I did about half the changes before retiring for that session. When I tried to open the drawing for the 2nd session the drawing got to about 75% then up popped a box saying "Failed to open document". I tried to open the drawing in XP with 17.2 and Vista with 19.0 and  19.1, but no luck.

The last thing I remember doing was a bunch of hatches. I also did some 19 style dimensions. While the drawing is opening it gets pass the new dimensions but I think it stops before any of the new hatches are drawn.  I can't tell if the any of the hatches are there or not because its zoomed too far back. When the message pops up I can see the drawing but if I drag the box around it acts like an eraser and clears the screen.

Anybody have any ideas how to fix this? Your help is appreciated.

Lar

ps, one other bit of info: after the error, when I click the close button (in 19.x) I am asked if I want to save the file, which I didn't. I made a copy of the file, tried to open the copy, got the same result and saved it but reopening that file was no better. Also, when I tried to open in 17.2 it only got to about 10% then the program froze (no message).


Rob S

That's a new one for V19, I think....

Have you tried opening with the "ignore drawing view data" checked in the file open dialog?

If that fails try inserting the bad drawing into a new drawing as a symbol, and then exploding the symbol?

Try both of the above, using V17 or earlier - probably lose dimensions, but may get drawing back.

That fails, post it here and see if any of us have any luck.
User since forever

Lar

Rob, you're an absolute designcad genius. The inserting as symbol got me back in the door. I had to play around quite a bit but it boiled down to the following:

v19.1:
1] inserting as a symbol opened the whole file but when I tried the explode command a few things happened:
...a box popped up saying that the command failed, but what actually happened was the original symbol was sitting under the exploded parts. The symbol was still selected so I was able to delete it, leaving the exploded parts. HOWEVER, everything was now on layer 1 (which may have not been so bad except that while drawing, as changes come along I often move things to back layers and turn them off so I have a copy in case I have to return to the pre-changed drawings).

2] Saving and reopening resulted in the same 'failed opening' so I had to save as ascii (.dc2) to get the file reopened. However, all the dimensions (17's and 19's) were exploded and I suspect that if everything wasn't now on layer 1 anything above layer 20 would have been lost (the original dcad had only 20 layers).

v17.2:
1] I was able to insert as symbol, explode and reopen but after opening with the proper zooms it blinked and zoomed back to a dot and nothing could bring it back to the proper zoom levels.

v19x + v17.2:
I was able to open the exploded file from 19.1 in 17 without failing. Once opened dcad blinked and zoomed back to a proper 'Fit to Window' instead of the dot. However, all of the dimensions created in 19 were gone. I saved normally in 17 and was able to open the drawing successfully in 19 (minus the 19 dimensions).

Thanks again, Rob

Lar

Rob S


Now I'd sure like to know what caused the drawing to not open properly in the first place.

You said you were drawing hatches -

- any custom hatch patterns?
- any particular patterns?
- any hatches containing huge numbers of points?

- any other unusual combination of entities ie grouped hatches, symbols, blocks, ??
- any unusual dimension parameters

- was this drawing opened and saved with any of the beta versions??


What must we avoid doing in order to not have this happen again  ???

By the way, if you have "enable saving bak files" turned on, this might give you a second chance to open a corrupted file.
User since forever

Lar

Rob, my average drawing would be considered unusual by most other dcad users.

For a minute there I thought it had something to do with some custom hatches that I didn't realise I had it the drawing when I started this thread. I hadn't yet added them to any of the DcHatchc.sys files of the versions I'm using (they were last on a laptop that stopped working. I had everything backed up but since I reinstalled dcad they were not added). Before trying your insert symbol suggestion I adding them but that did not solve the problem.

Looks like it had something to do with the v19 dimensions I added to the drawing (it was last worked on in 17.2) since all versions of the file that can now open are lacking those dimensions (the ascii save exploded ALL the dimensions and the opening in 17 ignored the v19 dimensions).

When I have some time I will backup a pre-18 drawing, open it in 19, add some dimensions, save, close and reopen and see what happens.

Lar

Dr PR

Lar,

If I understand correctly you had a drawing that was first created in V17.2. Later you opened it in V19.x and added dimensions.

Were there any dimensions in the V17.2 file? In other words, did the version that was corrupted have both V17 and V19 dimensions?

I do know that if I save a V19.0 file with dimensions as a V15 file and then try to open it in V15.3 it will not open. I have to delete the V19 dimensions before saving it as a V15 file.

****

For what it is worth I saw similar behavior in V17.2 several years ago, not long after that version came out. I was working on a file, saved it and closed the program. The next day when I tried to open it I got a message that said the file couldn't be opened. I tried to open it in V15.3 and got the same message. Fortunately I had recently saved a backup that would open. However, if I edited it very much the problem reappeared.

I believe I later discovered that the culprit was Max Group ID overflow. If I deleted the last group I had made then I could work on the files, save it, open it again, etc., so long as I didn't try to create more groups. I copied the contents of the file to another file using the group number reset procedure described elsewhere on the forum and that cured the problem.

V19 has a much larger Max Group ID so it will be easy to make files that will cause Max ID overflows in earlier versions.
DesignCAD user since 1987

Lar

Doc, the drawing was created in 17.2 and later worked on in 19.0 (some new dimensions were added, among other stuff). When attempting to open the drawing for the second time in 19.0 it failed. After Rob's block insertion suggestion it opened but after exploding, was unable to be saved. Reopened as block, exploded and saved as dc2 ascii. This was able to be opened but all the dimensions were exploded and everything is now on layer 1. I also saved the exploded block as 17.2 which later opened but all the dimensions created in 19.0 were not present.

While typing this I opened the ascii file to check I-now-can't-remember-what and in the process I got an inspiration to do the block insert anew, explode (the explode may 'fail' but the exploded entities may be there on top of the still selected symbol. Just press delete to get rid of the symbol), then export to dwg (2004). I did this with no problem and opened in both acad and dcad 19.1 with no problem. Best of all, all the dimensions are all there and intact. However, everything is on the symbol's host layer (whether host layer control is on or not).

I then tried the process above without exploding in dcad, just export the symbol file to dwg. I exploded in acad and all the dimensions and layers were intact. I saved in acad then imported into dcad. All the layers and dimensions were intact, except that all the dimension text were off to one side of the drawing. Luckily the text were not amidst any other entities so the stretch command could be used to get them back to their correct locations.

Lar


Rob S

#7
Sure happy to have been of service, but would much prefer to understand how it is that I helped!!

Your final success sounds a bit like pulling on your left earlobe while massaging your big toe with the other hand to get your car to start....

In computer software issues, there should be logical explanations for everything, right??

Troooollllll.....
User since forever

magic

#8
Hi,

Yeah, where is the DrollTroll? He hasn't been here since May 14.

I hope this hasn't happened to him: http://forum.designcad.com/index.php?topic=2129.0

It's a kind of magic!




Lar

Rob if all it took to solve problems was to pull on my left earlobe while massaging my big toe with the other hand it would be like on cloud nine.

I regard this as a simple solution. Way better that redrawing.

Anyway, there's more to report:

The acad passthrough had more collateral damage...
1] many of the arcs are now turning in the wrong direction. This is an ancient issue that I thought had gone away. I think it happens to arcs that have been mirrored in dcad. The solution is to select them and click the 'Complement the arcs' button atop the Info Box.

2] all the original layer names were lost and replaced with the dcad layer numbers. This is my fault. I should have inserted the block in an empty file containing the correct layer names (by emptying and renaming an older backed up file).


I suspect now that hatch fill caused the problem. I now remember doing some fills in this drawing, something as a rule I never did previously since it was so troublesome. I was cautiously using it lately since it seemed to be operating properly.

Lar

SEJ

#10
Hello from panicville ???,

I'm using 17.2 on an XP Pro machine.
Been using Design Cad since the DOS days.  But like my OS, I skipped versions.

Last few days I've started having problems like those noted here.

Work for a few hours on a drawing, save it, then try to open later and Get "Failed to Open Document", and then MS 'we're shutting you down, do you want to report it'. 
I've tried the Load Symbol route, but as soon as I insert the symbol and press Enter, DC bombs again. 
I've tried it with various combinations of Block load, explode etc and nothing seems to work. 
I've copied the file to a new name with the same results.
I always have the .bak function working, but in this case it's proved useless.

I don't have an earlier version to work with, I went from Window's 98 to XP and that only took a few months to get most everything working.  I'm supposed to deliver two more elevation drawings for a bath remodel tomorrow am, and now all the other elevations are useless, and given the results lately I'm afraid to start new cause I'm going to loose it.   I'd be glad to email you a copy of one or more of the files.  One is only 97K.

Help, Please.
Steve
If Murphy hasn't bothered you, then you're not doing anything.

Dr PR

I just reported a similar file open failure elsewhere.

I solved the problem by opening the V19.0 file in V15.3. Then I opened a second (empty file), drew a single line and made it a group, and then copied everything from the original file to the new file. After that I saved the file from V15.3 and it opened correctly in V19.0.

You might try this trick with V17.2. However, I had the same problem with a V17.2 file a few years ago.

The procedure described above can be used to reset the Max Group ID number (an old bugaboo) but I suspect it may also repair other drawing problems. It certainly is worth a try.
DesignCAD user since 1987

SEJ

Dr.

Thanks for the help, but I tried all the tricks available to me, plus a bunch of others (I'm a hacker at heart), nothing would allow me to open the old files.  Not having an older version to install limits my range of possibilities.  I lost a bunch of stuff when I experienced a hard drive failure about 2 years ago, which led to the switch to XP, so the cautions in the threads on this site about backups and getting new drives is well taken.

I decided to go back to some earlier versions of my drawings which still worked, which would leave me about 50% complete on the two drawings and rebuild them from there.  As an added note, I had done some hatch work on the later versions, but stock hatches, the only special thing done with them was to use the hatch pattern position option.

One thing I tried, and am doing on every file, is to save the file in the DC V15 format (often).  So far this morning I'm able to open all the files.  I did experience several failures of DC during drawing construction last night, most seem to occur when I tried to load symbols (2D cabinet faces and Isometric drawings) that are all saved in the DC-V17 format.

For now, it seems my best workaround is to continue saving in V15, which is a real PITA, but I'm too old to go learning any other software, and over the years this program has been the best value I've found.  It would be so nice if they could really fix these major bugs before they go touting the latest greatest version.  Being an ex-programmer I realize the problems, but if I had let a product go into production in this condition, I would have lost my job a long..... time ago.

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

Lar

SEJ,

Upload the file and let's see if one of us can open it. Maybe one of us can figure out what causes it (unfortunately my drawing is of a sensitive nature so I can't share mine).

Lar