1
Automation Interface, Add-Ins and Tools / Re: What triggers scriptlet execution?
« on: February 17, 2026, 09:14:27 pm »In most cases you can replace RefreshModelView with ReloadPackage.Thanks Geert,
This is often a lot less annoying, since it doesn't reload all diagrams.
in fact I did this during bugfixing.
But sometimes it is essential to also update the opened diagrams impacted by the change.
The point is: RefreshModelView(pkgId) also triggers the scriptlets execution of diagrams otherwise completely unrelated to the change in package pkgId.




).