Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Andrew Taylor

Pages: [1]
1
Try this:

EA.Repository repo;
EA.Element element;

repo = ..... your repository
element =  ...... an element with Type == "UMLDiagram"

int diagram_id = Int16.Parse(element.get_MiscData(0));
EA.Diagram diagram = repo.GetDiagramByID(diagram_id);


Obvious, isn't it?   :o

Pages: [1]