Solved

Autocad r13/r14 with Delphi 2

Posted on 1997-11-05
4
339 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Expert Comment

by:mirek071497
ID: 1349556
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
ID: 1349557
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
ID: 1349558
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
ID: 1349559
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month10 days, 17 hours left to enroll

628 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