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.

updating symbol references in old drawings?

Started by johnr, February 08, 2012, 06:53:14 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

johnr

hey all, been using designcad since the dark ages of dos (ver 5 & 6 I think), then worked my way through several windows versions up until designcad pro 2000 (which I've been happy with for years), now I've just made a leap up to ver 21.

over the years I've made a lot of my own symbols which I prefer to use, and I've found that the "batch convert" in v21 made quick work of saving my symbols from either .dc or .dw2 into .dcd

but when I open an older drawing and resave it to .dcd the symbol references are still the old .dc or .dw2, and what a pain it would be to go back to each of my old drawings and replace all the symbols

so I started thinking, perhaps there is an add-on or something that can go through a saved file and replace all instances of name.dc or name.dw2 with name.dcd, but I've not really found that yet...

what I did find was a program called notepad++ which is a text editor that can open a file in it's native language, allow you to make changes and resave in the same language. I've found that I can do a "find & replace" which seems to work for replacing all references of .dw2 with .dcd, but if I try to replace all references of .dc with .dcd the file becomes unusable. I suppose there are some references to .dc that are not part of symbol references and therefore messes thing up.....

has anyone else out there attempted such a feat? is there a better/smarter was of accomplishing this?

regards,
johnr

DrollTroll

Here's why editing the drawing worked for dc2 to dcd, but for dc to dcd: dc2 and dcd are the same number of characters, so it didn't affect the locations of the various "pieces" of the drawing; however, changing dc to dcd added one character for each change, moving everything below it farther down in the file. DesignCAD files rely on placement in the file to find various "streams" of information -- if a stream moves, and the header doesn't have the address of the new location, DesignCAD gets lost while trying to load the file, resulting in a broken drawing.

Unfortunately, no, we don't have a mechanism to replace those old symbol references with new ones. That could be a very good feature for a future version.
25 years with DesignCAD

johnr

DrollTroll, thanks for the quick reply......

I guess until something changes, I'll just have to keep copies of my symbols in multiple formats.

It's not that I really need to update all my old drawings, just thought it would be nice to clean out the old stuff and have everything on a common platform, especially if it was an easy process.......

regards,
JohnR

Bob P

Even though the format of your symbols is now in a later version, you can rename their extensions to .dc and the symbol will link properly in the main file.  (At least it did for me...)

Lar

Dcad may be the only program where a later version can open earlier files so for now at least it doesn't matter if the linked symbols are of the old format.

If all else fails you can use the Selection Filter to select linked and/or embedded symbols all at once and explode them into normal entities. This would make your files larger but you won't have to worry about out-of-date links.

Lar