Hi,
I have the following doubts. It is possibile get the history of the last used commands by ObjectArx?
Thank's
Michele
Solved! Go to Solution.
Solved by oliver253m. Go to Solution.
I don't think there's a better way, but you could use the COPYHIST command and access the clipboard, or keep a history of commands yourself with an editor reactor.
Thank's for the reply...
I try to use the COPYHIST, but the clipboard contains the entire contents of the command line and not only the commands used.
I would like to replicate the "last input" command Autocad that is present in the right-click menu.
In editor reactor, the names of the commands are in English and not in the installation language of Autocad.
Michele
If you use COPYHIST, then you would have to parse the history to find the last command. For the second method, it should be possible to use the lookupCmd() function of AcEdCommandStack to find the command and then the localName() function of the returned AcEdCommand.
Thank's..
I try to use reactor with lookupCmd() function of AcEdCommandStack and it work fine...
Thank's for the help.
Michele