Hi guys
As you may know, we can show an element in vp using this method :
ApplicationManager.instance().getDiagramManager().openDiagramElement()
This method takes an IDiagramElement as the argument and it works fine when I pass an IDiagramElement from the current opening project to it. But when I close the project or open another project and try to show the same element again (by calling the method again with the same IDiagramElement reference) it will fail. Actually, it will not perform any action!
Also I opened the project manually by calling ApplicationManager.instance().getProjectManager().openProject() before calling openDiagramElement() but it wont perform any action in this case too.
A patch build has just been released, which contains a fix for the second case you described. Now, by calling openProject(), you can then call openDiagramElement() to open it.
To obtain the fix, please update to the latest patch build (16_2_20210420as or newer). The article below shows you how to perform the update: