Click here to Skip to main content
15,900,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I write engineering design programs in VC++6. I wish to transfer the drawings to Autocad. I am aware that I will have to write code in Lisp. But where should I write this code. Will anybody guide me?
Regards V.K.Tamhane
Posted
Comments
LittleYellowBird 23-Jul-10 6:25am    
Where / what format do you want to transfer your drawings from? Your question is not very clear, please give more details. :)

1 solution

It's not so true: AutoCAD provides automation through AutoLisp and/or VBA, but this means that you "embed" some code into AutoCAD to extend its capabilities; for instance you can write an AutoLisp or VBA routine that load a drawing from your own file format.

If you have a project written with VC6, you can add it functioalities to export drawings to DXF files and then load them into AutoCAD; there are plenty of C/C++ libraries that you can find on the internet to do that.

Personally, I used dxflib[^] to add DXF import/export functionalities to some software of mine.
 
Share this answer
 
v2
Comments
Vilas Tamhane 23-Jul-10 15:13pm    
I think my question was not clear. But you guessed it correctly. I wish to export drawings in VC6 to autocad. As suggested by you I will try dxflib. Many thanks for the suggestions. Regards-v.k.Tamhane

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900