from ModelPanel.base import _mp as mp
Upon further reflection, the above line isn’t the best way to get the Model Panel instance, since it uses a private variable and it doesn’t create the Model Panel if needed. Use the following instead
from ModelPanel import ModelPanel
from chimera import dialogs
mp = dialogs.display(ModelPanel.name)
—Eric