csc.app.ActionManager

class csc.app.ActionManager

ActionManager class Represents the ActionManager class that handles actions within the Cascadeur application.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

call_action(self, arg0)

Call action by key.

__annotations__ = {}
__init__(*args, **kwargs)
__module__ = 'csc.app'
call_action(self: csc.app.ActionManager, arg0: str) None

Call action by key.

Parameters:

key (str) – The key of the action to call.

1#This script calls the specified action
2import csc
3
4def run(scene):
5    mp = csc.app.get_application()
6    mp.get_action_manager().call_action("Scene.Undo")