csc.app.ToolsManager

class csc.app.ToolsManager

ToolsManager class provides access to various tools within the application.

1# This script gets the FbxSceneLoader tool
2import csc
3
4def run(scene):
5    app = csc.app.get_application()
6    tools_manager = app.get_tools_manager()
7    # Get specified tool object
8    tools_manager.get_tool("FbxSceneLoader")
__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

get_tool(self, arg0)

Returns the specified tool based on its name.

tools(self)

__annotations__ = {}
__init__(*args, **kwargs)
__module__ = 'csc.app'
get_tool(self: csc.app.ToolsManager, arg0: str) object

Returns the specified tool based on its name.

Parameters:

arg0 (str) – The name of the tool to get

Returns:

The specified tool object

Return type:

csc.app.CascadeurTool

tools(self: csc.app.ToolsManager) list[object]