Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Gerhard on March 17, 2005, 03:50:56 am

Title: Programmatically Syncronize a element
Post by: Gerhard on March 17, 2005, 03:50:56 am
Hi all,

I have imported several Delphi forms into EA, but from time to time I need to update this forms in EA with the information I have in my project.

I did a small programe which iterates thought the elements and if it's a form I try to synchronize it with the IsSynchronized method of the element. However this does nothing, either setting it to true or false and then call update.

My question is, is there a away to programmatically synchronize a object? This can be achieved in EA by right clicking and choose "Synchronize Model" However this feature does not seem to be available in the Automation API.

Can Somebody give me a hint on how to do this?

Thank you
Regards