Communication Autocad -> Delphi

Discussion in 'AutoCAD' started by Pim, Oct 7, 2005.

  1. Pim

    Pim Guest

    I have read a lot of articles about Delphi and AutoCAD automation. But
    most of them are over the communication (sending commands) to AutoCAD
    (OLE). I tried this and this works fine. But I can't find anything
    about the communication from AutoCAD to Delphi.

    I have an AutoCAD drawing with certain points, al these points are also
    in an access database with additional information. I made a link with
    AutoCAD and the access database, this works fine. And I made a link
    with my Delphi program and the same database. So I can edit and
    calculate values in the database with my Delphi program. If I select
    certain points in my Delphi program I can send a command to AutoCAD to
    zoom in on these points. This also works fine.

    Now I want to make a link between AutoCAD -> Delphi. I want to make the
    following thing: If I select one ore more points in the AutoCAD drawing
    and for example send a command. Then I want to receive the coordinates
    or name of the points that are selected in the drawing. So I can select
    (or highlight or display) the selected points in the Delphi program.

    Does someone have experience with this?

    Thanx for the effort!!

    Additional info:
    Autocad 2005
    Delphi 7
     
    Pim, Oct 7, 2005
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.