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.

Help! Something broken

Started by Padmavyuha, October 02, 2014, 02:20:27 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Padmavyuha

Help! I'm in the middle of putting together a wardrobe design. Something went wrong somewhere along the line and Win7 crashed with DC open (but saved).

Now, when I go to open the DC file, the image preview is correct for what was saved, but the actual item that comes up when I open it has bits missing (back, right side, most of one panel on the left).

If I then re-add the missing parts and save the file, I still get exactly the same missing items coming up when I re-open it. What can I do to stop this? It's like DC is saving a faulty version somewhere where I can't see it.

I tried correcting it and then saving it as a new file, but the same thing happens in that one too (it always seems to revert to that same set of missing solids, and that single side of a solid left floating - see below).

I'm using Windows 7 and DC v23.1

Preview:


Actual:

Bob P

Are all layers visible?
Can you snap to points that are currently missing on the screen?

It would make it easier for us if you could post the file.

samdavo

#2
Pad
Might be wrong, but I'm guessing it is a problem with view distance (i.e. parts of the drawings are too close to see)...

Try going to the View Toolbox
Click on the red camera (right hand end of the available icons)
then click on the drawing and move the cursor around a bit
then click on "ok" (top left).
cheers
sam

PS otherwise try selecting everything, and run this macro (vct.d3m).

prl

Quote from: Padmavyuha on October 02, 2014, 02:20:27 AM
Now, when I go to open the DC file, the image preview is correct for what was saved, but the actual item that comes up when I open it has bits missing (back, right side, most of one panel on the left).

If I then re-add the missing parts and save the file, I still get exactly the same missing items coming up

Sounds like you are trying to reload symbols or blocks into your main drawing.  Unfortunately DesignCAD has had a serious cache problem for over a decade.  Regardless what you think you are loading from the harddrive, DesignCAD switches it to an internal cached version of the block or symbol.  It will drive you nuts.

Try renaming your symbols or blocks into a new and unique name and then re-add the missing parts.

Padmavyuha

It's not a view angle issue - that was the first thing I assumed too, so I've tried turning the image around all over the place. Here's an example of a different angle that should reveal hidden objects but they're just not there (they're also not on other layers, and they're not clickable).



Note that this prints (to PDF in my case) exactly as seen, too.

Here's the file itself, please tell me whether you can see all four sides of the wardrobe or not.

http://www.yoxi.net/anitya/new-wardrobe.dcd (58Kb)

If it's a DC caching issue, is there any way I can flush the cache?

Padmavyuha

All well now, I managed to rescue it by editing it all over again, and then saving using Save As Copy, and then opening the copy (which had all the new changes saved, thank goodness). Baffling.

prl

Well the file you posted does not have blocks or symbols.

Here is what I get when I load the drawing.  Besides the xyz symbol I added and what you see, there are no additional entities in this drawing.


prl

Quote from: Padmavyuha on October 02, 2014, 07:40:46 AM
All well now, I managed to rescue it by editing it all over again

Please explain what you did by editing it all over again.

Are you
1.) duplicating/mirroring the existing parts to create the other sides,

or

2.)  creating new solids as you go

or

3.) loading (merging) previously saved solids from the harddrive?

or

4.) cut and paste between a parts drawing and your new drawing?

etc.

prl

Well poking around the drawing you attached, the preview bitmap data is out of sync with the file contents.  Can't really explain that.

As of version 23, some AutoPacking code was added.  From a basiccad programming point of view, it negatively affected all the save and saveas/copy commands (failing to save).

But presumably you are doing your work through the GUI.

In any case, you may want to try  this: Hit the spacebar and type:   sys(1174)=0  (carriage return).  That will turn OFF the autopacking which is the only way I can use version 23.


or maybe it is a network save error with a remnant of a previously crashed DesignCAD locking the file, etc. 



If you can repeat the error and sequence of your actions, please let us know.

Padmavyuha

If it happens again, I'll let you know.

DrollTroll

Looking at your original drawing, I suspect it was a case of the view distance being too short. DesignCAD's default view distance of 1000 is a holdover from the days when everything was assumed to be drawn in feet. Change your view distance to about twice the longest "side" of the drawing or more, and it should clear up.
25 years with DesignCAD

samdavo

#11
DT
I said something similar but ...
One problem with that theory (when I think about it) is that the close walls appear to be visible, and the far ones not. (?)

Also since then Pad has included the drawing, and the other walls just aren't there. (?)

PS Height of wardrobe 1900mm
I increase view distance from 1000 to 5000mm, jpeg attached (using qs2) - should be 4 walls, only 2 there. 

DrollTroll

#12
Sorry, sam,  I didn't look back deep enough into the thread. Yes, the missing items are definitely not there. Not sure why. Possibly some not-quite-correct entity in the middle of the drawing is causing DesignCAD to give up when reading it back in. Padmavyuha's copy-to-another-drawing-and-proceed-from-there is probably the best solution for such a case.

*edit* just used my file-dumper on it. Yep, there's an invalid data tag in the middle of the drawing that DesignCAD can't recover from. Probably the result of a corrupted save. It may be that DesignCAD is trying to hold on to an incompletely-specified object that was partly read in before the invalid data, and when it saves the drawing, this invalid object keeps gumming up the works. However, I don't seem to have any problem adding more stuff to the drawing that was posted. Mysterious...

Might be worthwhile to have Windows run a disk check for bad sectors.
25 years with DesignCAD

Padmavyuha

This just happened again. What I'm seeing in the window bar for the file (which is currently called wardrobe.dcd) is this:

DesignCAD 3D MAX 23 - [wardrobe.dcd : new-wardrobe-copy]

Note that after I last saved the file, I closed it and renamed it from new-wardrobe-copy to wardrobe. So why is it showing this older filename along with the newer one, and also showing the previous savepoint to my actual last save?

This is a real drag, I have to either keep saving-as-copy every time I edit the file, or I lost my last edits.

Rob S

I notice from your first post, you seem to be saving to a network path.  \\psf\....

I wonder if this could be sometimes affecting the ability of designcad to save the drawing

To eliminate this possibility, you could try setting up a local folder such as "my documents\Lyus\..." to save your drawings to?
User since forever