Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Paolo F Cantoni on November 04, 2020, 05:27:13 pm
-
In a recent post v15.2 - How to enhance "hardcoded" element shapescripts (https://www.sparxsystems.com/forums/smf/index.php/topic,45042.0.html), I discussed how to add our shapescripts to the standard Data Modelling items.
Let me restate the requirement (in that post):
We wish to take advantage of the inbuilt (and hardcoded) Data Modelling functionality whilst allowing the use of a shapescript "overlay" that gives us more control over rendering.
Now I need to do the same with the icons. Unfortunately, the icons are embedded in the internal technologies that are well encoded. AFAIK, we (the users) haven't been able to reverse-engineer them.
Does anybody have a set of the 16x16 icons for the Data Modelling icons? I know they aren't too hard to create, but I'm short for time and resources- so if I can just acquire them, rather than create them...
TIA,
Paolo
-
Paolo,
What I usually do when I need an icon from EA is
- take a printscreen
- select the 16x16 rectangle containing the icon and crop the image
- select the background
- fill the background with the magic color color 192.192.192
- save as .bmp
I use the free Paint.net to do this, and it takes no more then a few minutes per icon.
Geert
-
Thanks for the info Geert. It's indeed quite straightforward to do with Paint.Net.
-
Thanks for the info Geert. It's indeed quite straightforward to do with Paint.Net.
Thanks, Geert,
I'll give it a go tomorrow
Paolo
-
For making icon icons, I find Greenfish is tough to beat. For everything else I use GIMP. And for screenshots, Greenshot.
And not to be a stickler or anything, but reverse-engineering is not permitted under the EULA. IANAL, but grabbing icons out of the GUI seems like a pretty clear violation to me.
It would be quite useful if Sparx could make their icon libraries available for use in shape scripts and stereotypes (browser icons).
/U
-
For making icon icons, I find Greenfish is tough to beat. For everything else I use GIMP. And for screenshots, Greenshot.
And not to be a stickler or anything, but reverse-engineering is not permitted under the EULA. IANAL, but grabbing icons out of the GUI seems like a pretty clear violation to me.
It would be quite useful if Sparx could make their icon libraries available for use in shape scripts and stereotypes (browser icons).
/U
(my emphasis)
Even as I replied to Geert's suggestion, I could hear Uffe whispering in my right ear...
So in the end I decided it was just as easy for me to build our own.
Paolo
-
You could do a variation of Geert's suggestion by starting with free icons from a library such as those found on freepik or thenounproject
http://https://www.freepik.com/search?dates=any&format=search&page=1&query=database&selection=1&sort=popular&type=icon (http://https://www.freepik.com/search?dates=any&format=search&page=1&query=database&selection=1&sort=popular&type=icon).
http://https://thenounproject.com/search/?q=database&i=652731 (http://https://thenounproject.com/search/?q=database&i=652731)
Download and open in Paint, Paint.Net or Gimp and shrink to 16x16 and colour as needed. Think you might even be able to download a 16x16 from one of those sites.
-
You could do a variation of Geert's suggestion by starting with free icons from a library such as those found on freepik or thenounproject
http://https://www.freepik.com/search?dates=any&format=search&page=1&query=database&selection=1&sort=popular&type=icon (http://https://www.freepik.com/search?dates=any&format=search&page=1&query=database&selection=1&sort=popular&type=icon).
http://https://thenounproject.com/search/?q=database&i=652731 (http://https://thenounproject.com/search/?q=database&i=652731)
Download and open in Paint, Paint.Net or Gimp and shrink to 16x16 and colour as needed. Think you might even be able to download a 16x16 from one of those sites.
Turned out to be simpler than I thought to create the half-a-dozen requied icons and shapescript decorations. So all done now.
But thanks fo the pointers, there may be other icons and shpaes I might use.
Paolo