Having a time suppressing the “No good view could be found..”
It is just Legends that are the issue.
I open the view first - no issue. Except for Legend views.
I’ve tried several methods of suppressing the task dialog but none have worked yet. (or caused another error…)
uidoc.ShowElements(element_id)