Recent tools list
On 08/05/2015 at 14:53, xxxxxxxx wrote:
is there a way to read the list of recently used tools from the document?
The only thing I found in the documentation was the active tool and it´s data:
On 11/05/2015 at 09:37, xxxxxxxx wrote:
sorry, but the list of recently used tools cannot be accessed through the APIs.
On 11/05/2015 at 12:48, xxxxxxxx wrote:
I thought about switching back to the last used tool after my tool has finished.
Like the render region tool does it.
But within the init tool function call I find no way to read out the type of the last used tool.
Any chance to find out which was at least the last tool?
Thanks in advance.
On 12/05/2015 at 01:46, xxxxxxxx wrote:
I'm afraid there is no way to access that information.
On 12/05/2015 at 02:08, xxxxxxxx wrote:
Thanks for the information !
For the python programmers I find out this one today:
A little cumbersome, but I overcome the difficulty by using a command plugin that stores
the actual tool id in global variable and fires up my new tool which has a hidden flag(info= c4d.PLUGINFLAG_HIDE).
If my tool is finished I used doc.SetAction() with the global value to switch back to the previous tool.
Hope this is an acceptable approach.