Book a Demo

Author Topic: Notes and Shapescript  (Read 5222 times)

bacz

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Notes and Shapescript
« on: June 17, 2018, 01:45:45 pm »
Hi,
I find myself frequently creating a note, having to convert it to a pin, changing the border to red, changing the font to size 18 for a "Pain point note"
I find myself frequently creating a note, having to convert it to a pin, changing the border to blue, changing the font size to 18 for a "FeatureNote"
Repeat - green for opportunity

( don't want to create other elements, just informal notes for the purpose of 1 diagram)
I have spent some time with Shapescript, and tried to make an element that does this based upon the note element. I cannot get the pin type, so I had to reproduce it in a complex, not so nice way with shapes, only thing left is I want to increase the font size.

I have saw in commentary years old that this cannot be done, can it be done now in 2018? If not are there any options at all?
If not, can we make font sizes programmable please Sparx? Such an elementary request.

(Also are we sure there is no way to change the note appearance to a pin?)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Notes and Shapescript
« Reply #1 on: June 17, 2018, 04:15:52 pm »
An alternative could be to write a little script and use the standard shapes.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Notes and Shapescript
« Reply #2 on: June 17, 2018, 04:55:13 pm »
What do you mean by "convert note to pin"?

q,

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Notes and Shapescript
« Reply #3 on: June 18, 2018, 07:14:29 am »
What do you mean by "convert note to pin"?

A note has the following appearances
  • Standard
  • memo
  • memo style 2
  • pin
  • sticky
  • paperclip

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Notes and Shapescript
« Reply #4 on: June 18, 2018, 01:40:36 pm »
I find myself frequently creating a note, having to convert it to a pin, changing the border to red, changing the font to size 18 for a "Pain point note"
I find myself frequently creating a note, having to convert it to a pin, changing the border to blue, changing the font size to 18 for a "FeatureNote"
Repeat - green for opportunity
Easiest way to do this is to define the basic notes in one place, then copy, paste as new where you want to use them.

I have saw in commentary years old that this cannot be done, can it be done now in 2018? If not are there any options at all?
If not, can we make font sizes programmable please Sparx? Such an elementary request.
No, it's not there and it's not coming because we don't want shape scripts overriding user font settings.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Notes and Shapescript
« Reply #5 on: June 18, 2018, 08:24:30 pm »
A note has the following appearances...
Huh. I never was aware of that  ::)

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Notes and Shapescript
« Reply #6 on: June 18, 2018, 09:48:32 pm »
A note has the following appearances...
Huh. I never was aware of that  ::)

q.

Was introduced in v13 or v13.5 I think.

Geert

bacz

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Notes and Shapescript
« Reply #7 on: June 19, 2018, 07:36:39 pm »
Hi Everyone
Thanks for your feeback.
I have tried the cut and paste of the pin types, but it looses colour, or shape or something (I forget), so still requires manual intervention.
This was of particular interest from Sparks "No, it's not there and it's not coming because we don't want shape scripts overriding user font settings."

Is there anyway then you can enhance notes to keep the current set characteristics (colour, fontsize, pin etc.) so when you cut and paste them they replicate?
It seems a bit of a pain having to write a shapescript anyway to do such basic stuff?

Please  8)
When you are adding lots of notes to diagrams, and want to keep them consistent, it is a royal pain

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Notes and Shapescript
« Reply #8 on: June 19, 2018, 07:59:45 pm »
Have you tried the template package?
That might be exactly what you are after.

Geert