Message 1 of 5
doubt in api part of map

Not applicable
10-29-2001
03:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi,
i have a problem in api>>>i'm using AutoCAD Map 2000i>>>but i've got api pdf document for Map 2000. i've started working using it. Now the problem is>>>
it has been written in the pdf document that to interact with Map using vb(not vba) the following code should be written
*****************
dim acadapp as object
dim amobj as acadmap
set acadapp = getobject(, "autocad.application")
set amobj = acadapp.getinterfaceobject("autocadmap.application")
*******************
i wrote the above code in vb>>>
but it is giving some error>>>so plz let me know the right procedure to interact with autocadmap using vb>>>and also plz let me know where can i get the pdf document about api of AutoCAD Map 2000i so that i can download it
thanx in advance
baburao
i have a problem in api>>>i'm using AutoCAD Map 2000i>>>but i've got api pdf document for Map 2000. i've started working using it. Now the problem is>>>
it has been written in the pdf document that to interact with Map using vb(not vba) the following code should be written
*****************
dim acadapp as object
dim amobj as acadmap
set acadapp = getobject(, "autocad.application")
set amobj = acadapp.getinterfaceobject("autocadmap.application")
*******************
i wrote the above code in vb>>>
but it is giving some error>>>so plz let me know the right procedure to interact with autocadmap using vb>>>and also plz let me know where can i get the pdf document about api of AutoCAD Map 2000i so that i can download it
thanx in advance
baburao