I don't know of a single command, but this should work:
modelPanels = []
for panel in lsUI(panels=True):
if modelPanel(panel, q=1, exists=1):
modelPanels.append(panel)
There's also a way to get the name of the currently selected modeling
panel, too, if that's all you want... used that before in a script,
but don't remember offhand. I can find it if you want...
- Paul