I get this error NotImplementedError : there is no tool manager
.
This happens on Mac, in the context of closing a model via the API (model#close
), when trying to access the current toolname via model.tools.active_tool_name
.
Similarly, it looks like when closing a model on Mac, there is a brief moment where there is no model (i.e. Sketchup.active_model == nil
), which is an issue because a refresh of the toolbar icons (equivalent to UI.refresh_toolbar
) is also triggered when closing a model.