Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Paolo F Cantoni on January 17, 2022, 02:48:59 pm

Title: Element Names and Notes
Post by: Paolo F Cantoni on January 17, 2022, 02:48:59 pm
We have the ability, with our Shapescripts to apply additional names to an element besides those in the Name and Alias fields (via the use of the Label subshape).  We also have the ability to render more than one shape when in non-rectangular (i.e. icon) mode.  However, while all this is useful, the one thing we CAN'T do at present is to show the Notes field in non-rectangular mode.  Neither can we shoe a name other than the name or alias fields in rectangular (i.e. compartment) mode.

Does anyone know how we could accomplish either being able to use an additional name in rectangular mode or render the notes (preferably in rich text) in non-rectangular mode?

TIA,
Paolo
Title: Re: Element Names and Notes
Post by: qwerty on January 17, 2022, 09:01:00 pm
And what even buggers more is the fact that rendering notes in a shape script does not affect the size of the frame. EA renders long text (which usually comes from notes being displayed) straight down crossing the lower bounds. You have to manually adjust it.

q.