Package autodesk_toxik :: Module graph :: Class ToolRegistry
[frames] | no frames]

Class ToolRegistry

 object --+    
          |    
Boost.Python.instance --+
              |
             ToolRegistry

Central access for registered tools.

Instance Methods
 
__init__(...)
Constructor for a new instance of the tool registry.
 
__reduce__(...)
helper for pickle
str
dump(...)
Returns: A string representation of the content of the tool registry.
list
getAllTools(...)
Returns: A list of all known tools.
list
getCategories(...)
Returns: All the tool categories registered in the system.
Tool
getTool(...)
Returns: The Tool with the specified name.

Inherited from Boost.Python.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  __instance_size__ = 24
Properties

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

Constructor for a new instance of the tool registry.

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

dump(...)

 
Returns: str
A string representation of the content of the tool registry.

getAllTools(...)

 
Returns: list
A list of all known tools.

getCategories(...)

 
Returns: list
All the tool categories registered in the system. This method returns only those categories that contain at least one non-internal tool.

getTool(...)

 
Parameters:
  • name () - The name of the tool.
Returns: Tool
The Tool with the specified name. If the tool is not found, returns None.