Book a Demo

Author Topic: Re-using standard shapescripts  (Read 11572 times)

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re-using standard shapescripts
« on: June 01, 2017, 03:29:17 am »

I would like to re-use the standard shape that is rendered for a value chain element.   May be a silly question, but is that possible?  In other words can I access the shapescript code for a value chain element and then apply it to a different element via the UML types dialogue ?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Re-using standard shapescripts
« Reply #1 on: June 01, 2017, 06:18:40 am »
Foster Geert's github repo with tons of shape scripts. That's probably the easiest way to get the contents. You could otherwise access this the tricky way yourself.

q.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Re-using standard shapescripts
« Reply #2 on: June 01, 2017, 09:39:06 am »

I would like to re-use the standard shape that is rendered for a value chain element.   May be a silly question, but is that possible?  In other words can I access the shapescript code for a value chain element and then apply it to a different element via the UML types dialogue ?

Yeah you can cut and paste the base64 encoded element from the mdg files into a new element.  And then go into the edit dialog and see the  actual shapescript.  It's a fiddly process so Geert's repository is a much better option.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Re-using standard shapescripts
« Reply #3 on: June 01, 2017, 01:53:17 pm »
My shapescript repository is found on github at: https://github.com/GeertBellekens/Enterprise-Architect-Shapescript-Library

It contains all shapescripts of all MDG's that are shipped with EA (with the approval of Sparx) along with some of my own, and some other contributions.

Geert

steen.jensen

  • EA User
  • **
  • Posts: 181
  • Karma: +8/-1
    • View Profile
Re: Re-using standard shapescripts
« Reply #4 on: June 02, 2017, 06:52:14 am »
Are you getting the ShapeScript for Archimate 3 elements from Sparx??

There are some interesting work done by Cognit Solution, thay have made som extension to Archimate 2.1 to define a IML (Infrasteucture Modeling Language) with some nice shapes.
I have asked them for the Sparx EA plug-in with no anwer :(

So Im thinking to build it my self, at least the element symbols as alternate picture for technology elements.

http://cognitsolutions.co.uk/publications/iml/

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Re-using standard shapescripts
« Reply #5 on: June 02, 2017, 01:59:43 pm »
There are some interesting work done by Cognit Solution, thay have made som extension to Archimate 2.1 to define a IML (Infrasteucture Modeling Language) with some nice shapes.

I don't actually see the point of what they've done.  It wasn't hard to use pure Archimate for what they're modelling.

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: Re-using standard shapescripts
« Reply #6 on: June 02, 2017, 08:34:55 pm »
My shapescript repository is found on github at: https://github.com/GeertBellekens/Enterprise-Architect-Shapescript-Library

It contains all shapescripts of all MDG's that are shipped with EA (with the approval of Sparx) along with some of my own, and some other contributions.

Geert

That's really great Geert, thank you.

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Re-using standard shapescripts
« Reply #7 on: June 06, 2017, 09:49:47 pm »
There are some interesting work done by Cognit Solution, thay have made som extension to Archimate 2.1 to define a IML (Infrasteucture Modeling Language) with some nice shapes.

I don't actually see the point of what they've done.  It wasn't hard to use pure Archimate for what they're modelling.

I have to agree I struggle to see the value of IML. Yes you could use standard ArchiMate or if you want something similar you could use UML and stereotype nodes with server, computer, storage etc  in Sparx EA anyway as its built in. Plus you can create attributes in the Node and set state values in the instances of the nodes for IP addresses, CPU, RAM etc.  ::)


As they say here in NZ - "Yeah Nah". IML is not for me.
Happy to help
:)