Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Paolo F Cantoni on June 27, 2016, 09:56:54 am
-
Elsewhere I've reported that dragging an element off the toolbox and adding it to the diagram via the New Element... browser function are inconsistent.
A further inconsistency is that the shapescript is not FULLY executed.
The shapescript defines the default size as: defsize(140,70); (for rectangular) and defsize(90,70); (for non-rectangular). If you drag off the toolbox, you get a 140x70 diagram object, if you add from browser, you get a 90x70 diagram object. Both are in rectangular mode (we have a marker in the shape script that interrogates rectangular). Hitting [Alt+z] will then render the diagram object as 140x70!. Dragging off the toolbox, you can actually see the 90x70 object "hit the diagram", but then get altered by the shapescript (as required) to be 140x70.
Reported,
Paolo