AutoCAD Map Developmen whit VBA

AutoCAD Map Developmen whit VBA

Anonymous
Not applicable
371 Views
2 Replies
Message 1 of 3

AutoCAD Map Developmen whit VBA

Anonymous
Not applicable
Hello:

Anybody knows some book or manual to program in VBA, commands of AutoCAD
Map: (_ADEGENLINK, _MAPBROWSELINK.....)

thanks
0 Likes
372 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
"Torreon" wrote in message
news:3917CB6E35338EF4A1A7C9CE4747DB86@in.WebX.maYIadrTaRb...
> Anybody knows some book or manual to program in VBA, commands of AutoCAD
> Map: (_ADEGENLINK, _MAPBROWSELINK.....)

Look for a file called "AcMapAtm.chm" in your ...Map\Help\ folder. It
documents the VB/VBA object model for Map - I don't know if the functions
you're looking for are exposed, however.
0 Likes
Message 3 of 3

Anonymous
Not applicable
These functions are not exposed through an API. You can however try and call
them with the SendCommand method. This method is a bit funky and may not
work well if called from the middle of a macro. If you run into problems try
calling it right at the end of the code. Find out the exact sequence of the
command line for ADEGENLINK. I believe browselink has no arguments.

That stated, you can also use Microsoft's database API: ADO to access the
contents of a database, the dbConnect API: CAO to access database links in
AutoCAD and VB/VBA to create your own version of the functions.

Cheers,
Will

"Torreon" wrote in message
news:3917CB6E35338EF4A1A7C9CE4747DB86@in.WebX.maYIadrTaRb...
> Hello:
>
> Anybody knows some book or manual to program in VBA, commands of AutoCAD
> Map: (_ADEGENLINK, _MAPBROWSELINK.....)
>
> thanks
>
>
>
0 Likes