Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: meierch on March 13, 2011, 03:50:47 am
-
I would like to create a context sensitive filter on diagrams. For this I'm looking for a way to intercept the drawing of each element or connector on a diagram. Is there an event (or something else) which allows to decide in an add-in if and how (e.g. color) an element is drawn?
Christian
-
I don't think so.
Geert
-
You can use the EA_OnPreNewElement events to disallow creation of elements. I have used that only on minor occasions so I can't tell much more than what is written in the help file.
q.
-
I would like such a feature. I was thinking about a nice way to 'filter' or 'change the representation' of a diagram based on context information. Something like this could be used to model the evolution of a system over time.
PS: This means I'm not looking for a way to intercept the placement of new elements ..
-
In that case you have to ask Sparx to implement such a feature.
q.