I'm using python script and trying to programmatically pass a newly opened tab DiagramData to the script. The interface is (DiagramData, flags).
How can I invoke unselect(), which is a method of Diagram class, from DiagramData instantiation? Thanks very much.