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.

Any way of working with an Excel speadsheet to "link" into a drawing?

Started by Milgor, April 12, 2012, 02:30:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Milgor

I create standard spec. drawings for the products we manufacture.  The drawings show information such as minimum order qtys., unit weights, target weights, etc...  This information is stored within an Excel spreadsheet that is maintained by our Estimation and Efficiciency Leader, and is subject to change from time to time.

I have seen in an older forum entry that DC did not have any capabilities of "linking" with an Excel Spreadsheet, or SQL database.  I am wondering if this has changed at all in DC 3D Max 21?  It would be convenient if I could simply "link" my drawings to a spreadsheet or database and not have to go in to each one of them to keep them up to date.

Is this just wishful thinking, or might there be hope?

DrollTroll

Sorry, no such change in Dcad21, and I don't foresee it any time soon.

Something could probably be cobbled together via OLE Automation to assist in this synchronization, but I have no examples on hand to demonstrate it.
25 years with DesignCAD

Milgor

Ok.  Thank you for the response.
I had thought that to be the case, but was hopeful nonetheless.

bdeck

A crude method of communication without ole would involve a combination of VBA and Basiccad.

Communication between the two could use disk files, the clipboard, or DC I/O windows to swap arguments.

see http://forum.designcad.com/index.php?topic=735.0 for a brief discussion of window snooping.

Also, if you save a DC file as pure ascii (the old DC2 format) the dc file can be read and deciphered in VBA (at reduced precision).

The DC ascii file format is in the SDK and here: http://forum.designcad.com/index.php?topic=754.0

Or you can use BasicCad to output a delimited text file which can be read directly by excel without VBA.

Finally, heres a way to force DC to run a basiccad macro on startup:
http://forum.designcad.com/index.php?topic=247.0

BD

PS: OLE offers a better solution, but I've never had a task that justified the learning curve.