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.

DWG export bugs

Started by Dr PR, September 11, 2007, 03:17:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

I just tried to use the DesignCAD 3D Max V18.0 DWG file format export feature. It has more bugs than an ant farm! See the attached file:

http://www.ao.com/~phays/PS_Test_board.dwg

A. The drawing is covered with huge letters saying:

"$DDT_AUDIT_GENERATED_(0)"

B. V18.0 gives us no options for the DWG file version. I have no idea what file version V18.0 generates, but one of my customers can't open it.

I have a lot (decades) of experience exchanging files with users of other CAD programs. Often we have to try several different DXF or DWG file versions to find one that is compatible with my customer's program and DesignCAD. I have found that any file version after V2000 is very problematic. V9 has been the most reliable format, V12 usually works, and V13 almost never works. Keep the options available in DesignCAD V15.2, with newer AutoCAD formats added.

C. I saved the original DesignCAD file from V18.0 in V15 format. I opened this file in V15.3 and exported a DWG in V2000 format. AutoDesk's Volovue program opens it correctly without the "$DDT_AUDIT..." garbage.
DesignCAD user since 1987

Rob S

Dr Pr

When you select "file, export" in V18, the resulting filename dialog has a "Setup" options button. 

This is where you set the File Version you want to export. This has been the case since Version 16 I think.

I believe it defaults to 2007 format, which few people have at this time. 

I have had reasonably good success with exported files so far.
User since forever

Dr PR

Thanks. I missed that - in too much of a hurry I guess.

I tried the Setup, selected V2000 and saved the file. AutoDesk's Volovue opened it OK. However, the drawing is still covered with huge text saying:

"$DDT_AUDIT_GENERATED_(0)"

With all layers enabled in the V18 DesignCAD file there is no such text visible.
DesignCAD user since 1987

support

Those pieces of text are likely attributes which are normally invisible. The default in DCAD is for attributes to be hidden but in AutoCAD they are not. So if you find the options to hide the attributes you can hide those pieces of text. Try the programs test options that is where the feature is located in DesignCAD.

dcadRob

Why is DC (v16.3) generating a bunch of layers which say $DDT_AUDIT_GENERATED(XX) when exporting to .dwg or .dxf files? These layers are not in the original drawing. They are visible in the .dxf files that DC creates.

Does DT stand for Droll Troll?

prl

Quote from: dcadRob on September 17, 2007, 08:42:48 PM
Why is DC (v16.3) generating a bunch of layers which say $DDT_AUDIT_GENERATED(XX) when exporting to .dwg or .dxf files? These layers are not in the original drawing. They are visible in the .dxf files that DC creates.

Probably a layer naming conflict.  Ensure in DesignCAD each layer has a unique name and then also keep in mind that AutoCAD will not allow the following in layer names

<>/\":?*|,=`

support

Also if you are using symbols or blocks or symbols with blocks remember they can have associated attribute definitions which could also be hidden normally but visible when exported and those could be contributing to this.

dcadRob

You're right prl. Layers which have / or " are not on my new layer list. I would have preferred for the invalid characters to be replaced by something logical(maybe _) and maybe a warning code added on the end. $DDT... doesn't tell me which layer it corresponds with. I thought that the (XX) might be the hex of the layer number but it doesn't seem to be anything.

Dr PR

Here is a working link to the original file:

http://www.ao.com/~phays/DesignCAD/PS_Test_board.dwg

I tried exporting a simple drawing (four vectors) from V18.0 and I don't see the garbage in VoloVue.

My original file was a drawing that was exported from P-CAD (a real bug farm!) as a DXF and then imported into DesignCAD V18.0. My guess is that the invisible "attributes" came from P-CAD.

In Options/Text I enabled visibility of attributes everywhere I found. However, I still cannot see anything in DC V18.0.

Drawing Info lists 131 blocks - it doesn't list any attributes. After selecting some of the objects I found that they were identified as "Blocks" in the Info Box. The Tools menu has commands for creating blocks but nothing for exploding them. I selected everything and used Edit/SelectionEdit/Convert/Explode and then Drawing Info did not list any blocks.

The drawing from P-CAD is pretty weird. What appear to be lines are shown to be "Hatch" entities in the CTRL I Info box! After they were exploded they listed as planes! These are PC board traces and they were exported as planes filled with hatching with circles at the ends to represent the round ends of the traces.

After exploding everything the mystery text no longer appeared in the DWG export file from DesignCAD V18.0. See the attached file:

http://www.ao.com/~phays/DesignCAD/PS_Test_board_2.dwg

Any suggestions for how to make these attributes visible in DesignCAD? I suspect this won't be the last time someone is blessed with invisible gibberish in a DXF/DWG import file.

In the future I will be sure to explode blocks when exporting DXF and DWG files.
DesignCAD user since 1987

dcadRob

Dr PR,

My browser says 'server not found' on your links.

Can you show us the original .dxf file?

Dr PR

That's odd. I have linked several pictures from the same directory in other posts in the forum, and those pictures open correctly. Sometimes our server gets hammered pretty heavily. "ao.com" is too close to "aol.com" (we were here first!) and we get a LOT of misdirected e-mail, plus lots of spam. I got 56,000 spams in a single day, and another fellow had 85,000! On a bad day like that our system can get pretty slow. Try again and see if it works.

You really don't want the original DXF. It takes more than 10 minutes to import into V18.0 in its original form. The file I have posted has been edited to eliminate most of the content (but not the attributes), so it imports fairly quickly.
DesignCAD user since 1987

dcadRob

Dr PR,

I looked at your PS_Test_board drawing and found that it was full of blocks. Almost all the blocks (ie J1,J33,SW1, etc) are either blank or have that $DDT_AUDIT text running across it in various directions. One of the blocks was renamed ($DDT...) because of an invalid or blank name. I wonder what these blocks look like in DC?