Solved

Autocad r13/r14 with Delphi 2

Posted on 1997-11-05
4
333 Views
Last Modified: 2010-04-03
Does anybody have some sample how to use Delphi with Autocad.

I want to use Delphi as an Database to give information to Autocad, so it will put the text in Autocad.

Were can I find some sourcecodes for this, and other sources   to use Delphi with Autocad.

Thanks,
0
Comment
Question by:CyberChild
  • 2
4 Comments
 
LVL 3

Expert Comment

by:mirek071497
Comment Utility
1. Check if Acad have dde (manual of Acad), and how can you use this.
2. Find Examples (in Delphi) for using DDE


0
 
LVL 3

Accepted Solution

by:
Pegasus100397 earned 100 total points
Comment Utility
Cyberchild,

In addition to checking to see if AutoCad supports DDE, you may also want to check to see if it support OLE as well. For even more fun, contact AutoDesk to determine the file layouts for autocad files and determine what the layout is, or better yet, if there is some sort of ODBC driver or somesuch you can use to access the files.

As a "last" (but sometimes useful) resort, assuming Acad is totally uncooperative (no DDE, no OLE and not file format available) you can always resort to sending Acad windows messages (WM_Click, etc) to correspond to the normal actions you would take while in the application, except that your Delphi program would be sending the "keystrokes" and "mouseclicks".

Good luck with your project!
Pegasus
0
 
LVL 3

Expert Comment

by:mirek071497
Comment Utility
I found so Acad have Lisp in which you can use dll's. Write your own dll and try using this in lisp.
0
 

Author Comment

by:CyberChild
Comment Utility
Autocad support OLE and DDE, but how must I use it with Delphi.
DLL's I never made one, does anybody have some examples.

0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now