×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Programming AutoCAD LT with DDE and VB

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!

RE: Programming AutoCAD LT with DDE and VB

If I recall correctly, I don't believe LT support 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

(OP)
You can certainly pass instructions from VB to ACAD LT using DDE.  I just wondered if there were any 'undocumented' features that would enable ACAD LT to pass information (in particular positional information)  back to VB.

RE: Programming AutoCAD LT with DDE and VB

Look to www.lt-extender.com
This tool will help you

Roland

RE: Programming AutoCAD LT with DDE and VB

(OP)
Thanks to those who replied.  

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

That sounds intriguing. I have never programmed to interface with ACAD LT, other than scripts. Thanks for the info.

"Whether you think that you can, or that you can't, you are usually right "
.. Henry Ford

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources