Autocad and OI (OpenInsight Specific)
At 07 SEP 1998 11:38:05AM Egbert Poell wrote:
Is someone using a combination of Autocad for Windows and OI4WG with a connection between those two?
I need to store (or access) Autocad data from within OI4WG.
Please send me your experiences or ideas.
Best regards,
Egbert Poell
Mecomp Automatisering
Mecomp@xs4all.nl
At 07 SEP 1998 04:22PM Mark Glicksman wrote:
Egbert,
I have been working with OI and AutoCAD Release 14 for some time now. I have used these two tools to create BG-Map, a mapping system/GIS for botanic gardens and arboreta.
To communicate between ACAD and OI, I use DDE. For programming ACAD, I use AutoLISP. There is a utility for AutoLISP - DDELISP.ARX, which allows ACAD to communicate through DDE. This can be downloaded from the AutoCAD forum on CompuServe, and possibly from other places.
I use OI to store the coodinates of all plants as well as the coordinates of text, leader lines, and group outlines. ACAD itself is used to store only the basemap, which serves as a background. OI stored procedures are used to genreate DXF files for display of plants on the map. OI is also used to generate ACAD script files for performing certain functions.
For more information on BG-Map, check the website, at
http://www.libertynet.org/bgmap
OR, if you have some specific questions, I'd be happy to answer them.
Yours very truly,
Mark Glicksman glicks@compuserve.com
Glenside, PA
At 14 SEP 1998 03:39AM Colin Rule (CSSP) wrote:
We too have the need to do this.
I have tried using AutoLSP to extract the data from the drawing and write to a TXT file, which can be easily picked up by and OI program.
Not very interactive, but its a start.
We will be looking further into this soon, to see if we can get AutoCAD to send a message to OI and use the WINMSG event to trigger the interaction.