Nav Nav - 7 months ago 48
C# Question

using addin to layout the diagram in EA opens the diagram in the view

Using LayoutDiagramEx method to layout the diagram in EA using addin open the diagram in the view.But how to close the diagrams that are opened during the layouting of diagram.Because we want not to open the diagram in view .But it should be autoarranged without opening or how to close the diagram that is opened in the EA using Addin in C#


I think you cannot avoid EA to open the diagram when doing the auto-layout.

Closing a diagram is as obvious as Repository.CloseDiagram(diagramID).