Getting Map commands to cooperate with lisp

Discussion in 'AutoCAD' started by Jim Nelson, Sep 21, 2004.

  1. Jim Nelson

    Jim Nelson Guest

    (AutoCAD Map 2004)

    To access Map object data, the ADEEDITDATA command can be used on the
    command line. However, if I try to use the common technique of using a
    "command" statement in a lisp routine with it, I get an error.

    For example, if I try:
    (command "adeeditata")

    AutoCAD responds with:
    Cannot execute this command from within ADS or AutoLisp.
    Internal error.nil

    Is there another way to "call" an AutoCAD Map command using lisp?

    Thanks in advance

    Jim
     
    Jim Nelson, Sep 21, 2004
    #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.