Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: skranenburg on October 05, 2022, 02:03:06 am
-
Hi,
I have a imported package in my model that has a large number of systems represented as blocks with numeric tagged values. Is it possible to use these specific values within a parametric diagram for certain calculations? I have having trouble finding a way to "pull out" these values to use them elsewhere in the model. Any help on this would be much appreciated.
Thanks!
-
Use scripting and the TaggedValues collection of the according elements. That's pretty simple.
q.
-
You could also look at Scriptlets - I've not used them yet, but the claim is that they will run when a diagram is opened. It might be appropriate to make a diagram make your calculations when opened based on elements on the diagram.