Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: BuddyRobbins_Linquest on December 01, 2018, 03:52:37 am

Title: Programmatically bringing up the properties window
Post by: BuddyRobbins_Linquest on December 01, 2018, 03:52:37 am
Looking through the Forums, I found a reference to the existence of "An non-official API can pop up the properties"

Could someone elaborate on that?

Thanks,
-Buddy Robbins
Title: Re: Programmatically bringing up the properties window
Post by: qwerty on December 01, 2018, 04:38:54 am
It's
Code: [Select]
xmlres =
      Respository.CustomCommand(
        "CFormCommandHelper", "ProcessCommand",
        "Dlg=" + dlg + ";id=" + id + ";hwnd=" + hwnd);
where DLG is one of PKG, ELM, ATT, OP and DGM. The ids are those of the according element.

q.