Set Active Tool

On 27/05/2017 at 18:50, xxxxxxxx wrote:

Hi,forums.

maybe a stutip question,how to set active tool (Add Guides tool)via python?  I know there is a way ,which is use "c4d.CallCommand(1017640)",but I don't want to use this way,is there another way to achieve this?Thank you very much!

Best Wishes!
Ching.

On 28/05/2017 at 02:42, xxxxxxxx wrote:

doc.SetAction(1017640)

On 29/05/2017 at 02:37, xxxxxxxx wrote:

Hi,

just chiming in to add a few documentation links  for those interested in a few more details:
API reference: BaseDocument.SetAction()
And the BaseDocument manual in C++ docs also contains some useful information on the active tool.

On 29/05/2017 at 07:54, xxxxxxxx wrote:

Thanks all. is very useful for me.

Best Wishes!
Ching