The workbench Python base class doesn't allow you to manipulate the C++ workbench class behind. More...
The workbench Python base class doesn't allow you to manipulate the C++ workbench class behind.
You're only allowed either to activate the workbench class or get its name. The WorkbenchPy class is associated to all C++ workbench classes except of PythonWorkbench.