It seems that this old bug is not yet solved in 2013LT ???
But what is also strange is that the command reacts differently if it's alone under a custom button or among many commands, scripts etc...
See attachment, the last one is the alone command under a custom button.
But I REALLY need the command to work as _ATTEDIT
Any ideas ?
Solved! Go to Solution.
It's not a bug if you don't know that some commands (and most pop-up commands), when called in a script (or Lisp) or menu macro, default to the command line version (and sometimes the much older "totally different" command). That's one of them. It's by design, someone at Autodesk decided this a very long time ago and it continues.
What exactly are you trying to do with your macro? Post the full string here as well, maybe someone can help you tweak it (if it's an option).
Here's the full version of what was done with AutoCAD 2005 LT, and it worked perfectly...
If I have to go through the -ATTEDIT commands there a way after answering all questions to come back to some on-screen selection of the block ?
What is it that ATTEDIT did in LT2005 exactly? That command changed starting in LT2006 or LT2007, so you are going to have to refresh my memory going that far back.
All your macro does is run ATTEDIT, call LAST, then move on with no user input if I read it correctly. Plus, in your screenshot in the first post, you needed to use REPLACE and not CHANGE to edit the value of the attribute (since you know what the new needs to be but don't care about the old).
After the "last" input, it opens the attribute window so the user can input the field "PW"
Then goes on with the insertion of REVISION-MARK block.
P.S. I'm more lost then you because it's the first time I have to deal with those mix of scripts, lisp, macros, VBA, etc. that were created many years ago...
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register