How can I integrate "AutoCAD 2004,VBA procedures with DELPHI 7 " ?(Please advice

  • Thread starter Thread starter Rameshi
  • Start date Start date
R

Rameshi

Hi All,

I am a novice user to the CAD enviroment.So,Please be kind enough to help me on these questions:

* How can I extract X,Y,Z coordinates from a drawing in VBA?

* How can I pass these extracted coordinates in to a Delphi7 program and
return the changed value coordinates back to the VBA procedure in order to update the drawing?

* Will I be able to show the updated drawing in my the Delphi program?

Does anyone have suggestions to solve these problems.

Thanks in advance....
Rameshika
 
Your Delphi 7 program must be an ActiveX Server, which will allow
you to connect to it from VBA and use its properties and methods
just like any other ActiveX object.

This of course, requires you to have knowledge of building ActiveX
servers in Delphi. If you're unsure about that, feel free to ask or
visit http://www.caddzone.com and click on the link to Free stuff,
and then the link to the Delphi/AutoCAD pages.
 
Thanks for ur early reply.This information is very important in my developments.

But sir, my real requirement is:

I am developing a software program in delphi 7 which will gather user requirments such as roof angle, roof shape etc.
This information should be passed to the autocad enviroment and autocad should be able to draw the required roof architecture.This drawing should be sent back to my delphi program so that user will be able to see his requirements in 2D format.

Will I be able to perform this task?

Please advice me because I am really stuck in my developments.

Thanks alot..
 
Thanks for ur early reply.This information is very important in my developments.

But sir, my real requirement is:

I am developing a software program in delphi 7 which will gather user requirments such as roof angle, roof shape etc.
This information should be passed to the autocad enviroment and autocad should be able to draw the required roof architecture.This drawing should be sent back to my delphi program so that user will be able to see his requirements in 2D format.

Will I be able to perform this task?

Please advice me because I am really stuck in my developments.

Thanks alot..
 
But sir, my real requirement is:
I am developing a software program in delphi 7 which will gather user
requirments such as roof angle, roof shape etc.
This information should be passed to the autocad enviroment and autocad
should be able to draw the required roof architecture.This drawing should be
sent back to my delphi program so that user will be able to see his
requirements in 2D format.
So go to Tony's website www.caddzone.com and look at the Delphi resources
there. Tony has a lot of good stuff on using Delphi and COM/ActiveX
automation with Autocad. What you describe above can be done with an
ActiveX automation server DLL that runs in Autocad.
 
Back
Top