Programming AutoCAD LT with DDE and VB
Programming AutoCAD LT with DDE and VB
(OP)
I'm programming with VB to automate some repetative drawing in AutoCAD using DDE (Dynamic Data Exchange).
I can pass information FROM VB to ACAD LT but does anyone know if it possible to pass information FROM ACAD LT to my VB programme?
Any assistance would be gratefully received!
I can pass information FROM VB to ACAD LT but does anyone know if it possible to pass information FROM ACAD LT to my VB programme?
Any assistance would be gratefully received!





RE: Programming AutoCAD LT with DDE and VB
SORRY..We have about 20 seats of LT and 77 seats of LDD & ADT, about a year ago I tried to use the VB for the LT and it was a no go.
RE: Programming AutoCAD LT with DDE and VB
RE: Programming AutoCAD LT with DDE and VB
This tool will help you
Roland
RE: Programming AutoCAD LT with DDE and VB
If its of any use here is my workaround to get positional information :
1, VB starts a conversation with ACAD LT
2, VB sends '_id' command to ACAD LT
3, VB message box appears asking user to click OK when he has selected position
4, user clicks his required position on screen and coordinates are displayed in the command line
5, user highlights coordinates and uses Ctrl+C to copy to clipboard
6, user clicks OK in VCB message box
7, VB gets text from clipboard and extracts coordinate position
8, VB gets on and draws the parametric item in the required place.
It might not be clean and tidy, but it works for my problem.
RE: Programming AutoCAD LT with DDE and VB
"Whether you think that you can, or that you can't, you are usually right "
.. Henry Ford