API not exposed in Map 2006?!

Discussion in 'AutoCAD' started by nathan_wilson, Jul 7, 2006.

  1. I'm using Autodesk Map 3D 2006. I've written some VBA macros that
    insert blocks and that has worked great. Now I'm trying to extract
    information from attached drawings. When it tries to run the following
    code

    Dim aMap as AcadMap

    I get an error saying "user-defined type not defined". The projects
    collection doesn't exist either. What do I need to do to expose these
    objects?

    Thanks,
    Nathan
     
    nathan_wilson, Jul 7, 2006
    #1
  2. nathan_wilson

    nathan Guest

    The dvb had been carried over from Map 6. The old library file was
    still attached. In the Visual Basic Editor, I removed the reference to
    the old library file and selected the new one in the Map 2006
    directory. Voila, they are exposed now.
     
    nathan, Jul 10, 2006
    #2
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.