1
Automation Interface, Add-Ins and Tools / Select an item inside the diagram by guid
« on: September 11, 2017, 07:00:35 pm »
Hi,
I am creating an EA addin written in WPF.
I have to select an item in the EA diagram when the user clicks on a item in my plugin. I have the item's guid, but I can't find a way to select the element in EA.
I have found the Diagram.SelectedObjects.AddNew(string name, string type), but I don't know how to get the name and type by my guid.
So, is there a way to select an item in the opened Diagram using the item's guid?
Thanks.
I am creating an EA addin written in WPF.
I have to select an item in the EA diagram when the user clicks on a item in my plugin. I have the item's guid, but I can't find a way to select the element in EA.
I have found the Diagram.SelectedObjects.AddNew(string name, string type), but I don't know how to get the name and type by my guid.
So, is there a way to select an item in the opened Diagram using the item's guid?
Thanks.