Book a Demo

Author Topic: create multiple elements at once  (Read 4090 times)

Giu Platania

  • EA User
  • **
  • Posts: 88
  • Karma: +4/-0
  • As Above so Below
    • View Profile
    • Linkedin
create multiple elements at once
« on: February 28, 2023, 12:22:06 am »
Hello community!
working on a very complex MdG that requires certain model elements to be created as a stereotyped class AND package on the same time.
e.g. User creates the class "Project Management", on the same time a package with the same name is created.
I suspect this can be done with a internal Add-in, but I would appreciate any previous work on the topic.

thank you!
Giuseppe Platania
Enterprise Architect
Door Business Consulting
+++
"As above so below, to accomplish the miracles of the One Thing" - Trismegistus
===
The above content reflects my own opinion and is not endorsed by Monthy Python
***
The above is NOT a reference to Monty Python

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: create multiple elements at once
« Reply #1 on: February 28, 2023, 12:27:56 am »
You can possibly also use a pattern. That is a lot simpler than having to write an add-in.

Geert

Giu Platania

  • EA User
  • **
  • Posts: 88
  • Karma: +4/-0
  • As Above so Below
    • View Profile
    • Linkedin
Re: create multiple elements at once
« Reply #2 on: February 28, 2023, 12:30:08 am »
good idea Geert!
Probably the down side would be that the pattern need to be started by a toolbox in a diagram ...
Giuseppe Platania
Enterprise Architect
Door Business Consulting
+++
"As above so below, to accomplish the miracles of the One Thing" - Trismegistus
===
The above content reflects my own opinion and is not endorsed by Monthy Python
***
The above is NOT a reference to Monty Python

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: create multiple elements at once
« Reply #3 on: February 28, 2023, 12:33:06 am »
good idea Geert!
Probably the down side would be that the pattern need to be started by a toolbox in a diagram ...
I think so. I think you can also do something like the add-model-wizard, but I've never really used that myself.

Geert

Giu Platania

  • EA User
  • **
  • Posts: 88
  • Karma: +4/-0
  • As Above so Below
    • View Profile
    • Linkedin
Re: create multiple elements at once
« Reply #4 on: February 28, 2023, 12:35:04 am »
@geert, I PM you on LinkedIn
Giuseppe Platania
Enterprise Architect
Door Business Consulting
+++
"As above so below, to accomplish the miracles of the One Thing" - Trismegistus
===
The above content reflects my own opinion and is not endorsed by Monthy Python
***
The above is NOT a reference to Monty Python