Book a Demo

Author Topic: How to start programming add-ins?  (Read 5596 times)

Peter_Dolphin

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
How to start programming add-ins?
« on: January 31, 2019, 10:23:42 pm »
Hallo,

I am rather a junior programmer and I have been given task to create add-in for Sparx Enterprise Architect.

Would you please recommend me some good detailed and comprehensive sources on the topic?

I am trying to google some books, so far I found rather general literature that is hard to follow for my level.

Thank you.

Peter

Arshad

  • EA User
  • **
  • Posts: 291
  • Karma: +21/-1
    • View Profile
Re: How to start programming add-ins?
« Reply #1 on: January 31, 2019, 10:29:21 pm »
Sparx provides code samples . you can find them in the installed directory
Default path of installation C:\Program Files (x86)\Sparx Systems\EA\Code Samples

For more live examples you can refer GeertBellekens Enterprise Architect Add in Framework

To Know more about database refer Inside Enterprise Architect

HTH
Arshad

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to start programming add-ins?
« Reply #2 on: January 31, 2019, 10:42:08 pm »
I wrote a number of articles that should get you started:

https://bellekens.com/writing-ea-add-ins/

Geert

Peter_Dolphin

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: How to start programming add-ins?
« Reply #3 on: January 31, 2019, 11:19:51 pm »
I wrote a number of articles that should get you started:

https://bellekens.com/writing-ea-add-ins/

Geert

Hallo, Geert,

thank you, yes, I did read your tutorials. I encountered usual yak-shaving problems... If I see right your articles are from 2011? Is it possible there are some books? Probably not, right?

Maybe some not-so-expensive alternative for Sparx EA?

Thank you,

Peter

Peter_Dolphin

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: How to start programming add-ins?
« Reply #4 on: January 31, 2019, 11:27:18 pm »
Sparx provides code samples . you can find them in the installed directory
Default path of installation C:\Program Files (x86)\Sparx Systems\EA\Code Samples

For more live examples you can refer GeertBellekens Enterprise Architect Add in Framework

To Know more about database refer Inside Enterprise Architect

HTH
Arshad

Thank you.

Do I understand right, that book (can't browse in it) will guide me through basics? I followed some tutorial, 7 years old and as usual, since 2011 there has been bunch of changes in Visual Studio and so, which left me troubleshooting these minor inconveniences for half of a day until I realized I don't know how to start project for  EA Add-in... quite frustrating...no one to ask...


So I really need some source that will take into account my IQ might be here a bit challenged...

Arshad

  • EA User
  • **
  • Posts: 291
  • Karma: +21/-1
    • View Profile
Re: How to start programming add-ins?
« Reply #5 on: January 31, 2019, 11:31:39 pm »
To kick start with addin you can follow the below link ( if it doesn't works for you then nothing can be  :D :D :D )
https://bellekens.com/2011/01/29/tutorial-create-your-first-c-enterprise-architect-addin-in-10-minutes/

Sparx Add-In details and classes

https://sparxsystems.com/resources/user-guides/automation/enterprise-architect-add-in-model.pdf
« Last Edit: January 31, 2019, 11:55:59 pm by Arshad »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to start programming add-ins?
« Reply #6 on: February 01, 2019, 01:04:05 am »
I wrote a number of articles that should get you started:

https://bellekens.com/writing-ea-add-ins/

Geert

Hallo, Geert,

thank you, yes, I did read your tutorials. I encountered usual yak-shaving problems... If I see right your articles are from 2011? Is it possible there are some books? Probably not, right?

Maybe some not-so-expensive alternative for Sparx EA?

Thank you,

Peter
Yeah, I haven't updated the articles, but the basics are still the same.
Maybe one day I'll find the time to update them, but usually there's other, more fun, stuff do to :-\

What do you mean by "not-so-expensive alternative for Sparx EA"?
EA is dirt-cheap when compared to other modelling tools. :o

Geert

Peter_Dolphin

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: How to start programming add-ins?
« Reply #7 on: February 01, 2019, 01:53:20 am »

Yeah, I haven't updated the articles, but the basics are still the same.
Maybe one day I'll find the time to update them, but usually there's other, more fun, stuff do to :-\

What do you mean by "not-so-expensive alternative for Sparx EA"?
EA is dirt-cheap when compared to other modelling tools. :o

Geert

The core itself is sure good, problem is, this is my very first project of this kind and without help - person or book - this job will painful...

yes, EA is very cheap compared to other products... I was wondering if there is other software with more books or community supporting juniors like me, but I think I might be trying too hard here...

Thank you :)

Peter

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to start programming add-ins?
« Reply #8 on: February 01, 2019, 02:01:24 am »
I don't think you will find more in terms of books, community and documentation than is available for EA.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to start programming add-ins?
« Reply #9 on: February 01, 2019, 02:28:17 am »
I never coded C# in my life nor did I use Mickeysoft's VS. But a month or so ago I just installed it, took Geert's template and (after some fiddling with the usual traps) after a day (some traps were really deep for me as a Mac user) I got it working.

q.