Book a Demo

Author Topic: Can I change a object type? Interface - > Node - SOLVED  (Read 3491 times)

vladap

  • EA User
  • **
  • Posts: 79
  • Karma: +0/-0
    • View Profile
Can I change a object type? Interface - > Node - SOLVED
« on: April 28, 2020, 01:46:05 am »
Hi All,

In some of our diagrams , there were used some wrong objects. It will be the best solution for me to change them from one object to another one.

E.g. from Interface to NODE. (Archimate 3) . Is this a painless solution to change only the Type and Stereotype or is it more complex and I can“t make different object from existing one? (e.g. there are some reference information on other place)

Can I do it only in DB?

tanks for any advises
« Last Edit: April 28, 2020, 07:55:58 pm by vladap »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Can I change a object type? Interface - > Node
« Reply #1 on: April 28, 2020, 04:26:29 am »
Yes. Make sure to change it to the base metatype of ArchiMate Node, and then set the stereotype.

You could do it in the database directly, but it's better and easier to use the API (write a little script)

Geert

vladap

  • EA User
  • **
  • Posts: 79
  • Karma: +0/-0
    • View Profile
Re: Can I change a object type? Interface - > Node
« Reply #2 on: April 28, 2020, 07:55:47 pm »
Thanks Geert, it was in the end related to the other topic I raised: https://www.sparxsystems.com/forums/smf/index.php/topic,44335.msg261341.html#msg261341
For my Sandbox object it works normally, but for that specific one, there was a problem.