CAD/Cadkey CDE Article



I found this reply from you to a question about batch converting Cadkey to DWG/DXF in a Google search.  We are needing to do the same conversion using Cadkey 98.  Can you please explain which CDE is used and how it is executed using the .lst file?  CDE's are loaded and executed within the Cadkey program, but I'm not sure how you would input the *.lst parameter.  This was you previous answer to someone else's question: "The article i wrote 4 years ago only pertains to the CadKey versions 97-99 which basically covers the use of the 'CDE Execute' to read a text list (this file will consist of your all the *.prt library to be translated). This can be easily generated from the notepad and then rename the file extension with *.lst. The procedure is simple, the hard part is probably generating the *.lst file...but that could also be done thru batch dump process in DOS. Hope this helps!"

So.. which CDE was used to do this conversion?  And how to use the *.lst parameter.


ANSWER: Greetings Mark,

I wrote that little 'how to article' over a decade ago & may not even be applicable in our current windows OS's anymore. Regardless, the CDE is an executable command file (without the fancy graphical interface) that only runs inside DOS. You'll find it somewhere in the Cadkey install directory.
In order for this translation to work, CDE needs a listing of prt's. Each target files has to be in this list & ensure all file name matches, otherwise CDE id's these as non-existent & just parses to the next sequential item.
In order to expedite this process at a much faster rate & more accurate, i moved all of my prt files in a folder & ran a command dir batch dump in dos:

(C:\Users\Jory\Documents\Convert>dir /b >> MyList.lst

Run CDE in dos & map to MyList.lst & let it do it's thing for the next few hours. I remember successfully running mine for a couple of days. I hope this clarifies a few things.

Good luck!

[an error occurred while processing this directive]---------- FOLLOW-UP ----------

QUESTION: Thanks for the reply!

But looking in the Cadkey97 or Cadkey98 install folders, there is no CDE executable.  There are CDE files (ie: dxf.cde) that can be loaded and executed within Cadkey, but no DOS cde executable.  Would they have eliminated the CDE program from these installs?  I can find no batch .cde file either for use within Cadkey.

Frustrating... and stuck...


Mark, those are the CDE files i was talking about. Essentially run dxf.cde in DOS & in conjunction with the *.lst file.
Do a sample test run, copy 3 prt files in your local drive. If the names of these files are xyz001.prt, xyz002.prt....then write down the names in notepad like so:


then save it as MyList.lst (not MyList.txt) on the same location with prt files. Run your dos command prompt, & run series of CD commands all the way to your dxf.cde directory folder. Then tell it where to locate MyList.lst (i.e. C:\Users\Jory\Documents\Convert\MyList.lst) The prt will be translated to dxf files in that directory. Once you get this far, you then implement this concept on a larger scale. Hope this helps



All Answers

Answers by Expert:

Ask Experts


Jory Borge


I'm an experienced CAD Leader with strategic approach towards implementation and use of CAD applications in the most effective, efficient, and practical manner. I have extensive experience in Solidworks and vigilant in evaluating new tools and au fait with emerging technologies.


I've been in the 2D/3D industry for many years simplifying and formalizing design workflows, integrating databases, and leveraging automated approaches. I've also been an active member of Autodesk's education & feedback community for the past decade.

Autodesk Feedback Community Group

Austin College | Tarrant County College | ATI

Awards and Honors
AUGI Top DAUG Dallas 2005

©2017 All rights reserved.

[an error occurred while processing this directive]