Murph,
I saw that lisp, you arte thinking I have problems dealing with object data and the API.
I am not, I simply wanted to make a key-in lisp for the ADEEDITDATA command.
Try this (command "ADEEDITDATA")
it don't workie...
Murph
|>James,
|>I don't know what you are working on but take a look at "COPY_OD.lsp" in the
|>sample folder of MAP, might give you some ideas.
|>
|>Murph
|>
|>"James Maeding" wrote in message
|>news:5023171@discussion.autodesk.com...
|>HA! check this out:
|>
|>(vla-eval (vlax-get-acad-object) (strcat "ThisDrawing.sendcommand
|>\"_ADEEDITDATA \"") )
|>
|>the back door?
|>
|>James Maeding
|>|>I know when you issue this:
|>|>(COMMAND "_ADEEDITDATA")
|>|>
|>|>you get this:
|>|>Cannot execute this command from within ADS or AutoLisp.
|>|>
|>|>Any ideas on how to get around this?
|>|>I am thinking I could write a short script and run that from lisp. that
|>might fool acad...
|>|>
|>|>This is crazy as this command is super useful and used a lot.
|>|>Maybe the pgp file will work, but I want to call the command from a dialog
|>box or key-in lisp routine
|>|>
|>|>(defun c:ME () (COMMAND "_ADEEDITDATA"))
|>|>something like that should work...
|>|>James Maeding
|>|>Civil Engineer and Programmer
|>|>jmaeding - athunsaker - com
|>
|>James Maeding
|>Civil Engineer and Programmer
|>jmaeding - athunsaker - com
James Maeding
Civil Engineer and Programmer
jmaeding - athunsaker - com