Book a Demo

Author Topic: BDD Diagrams imported via MDZIP file  (Read 6491 times)

DanaMaxwell

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
BDD Diagrams imported via MDZIP file
« on: October 03, 2018, 12:00:07 am »
Hello All,

I am importing a model from Cameo System Architect (Magic Draw) which includes several block definition diagrams. Once imported, the diagrams are simple "Class" diagrams and therefore don't support all of the typical behavior for bdd (i.e. display of the "parts" in the block).

Is there a way to change the "Type" from "Class" to "SysML Block Definition".

Thanks

Dana

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: BDD Diagrams imported via MDZIP file
« Reply #1 on: October 03, 2018, 02:46:34 am »
Have you tried changing the stereotype and selecting the appropriate SysML stereotype?

If the correct stereotype is not in the list you might have to change the element type to whatever the base type needs to be.
You can test that easily by creating one from the toolbox and removing the stereotype.

Geert

DanaMaxwell

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: BDD Diagrams imported via MDZIP file
« Reply #2 on: October 03, 2018, 04:54:41 am »
Sorry, I guess I wan't clear.

Is there a way to change the "Type" from "Class" to "SysML Block Definition".

I do not know how to change the Type  of diagram from "Class" to "SysML Block Definition". Is it possible from the the GUI or do I need to develop a script?

Neither type of diagram uses a stereotype.



qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: BDD Diagrams imported via MDZIP file
« Reply #3 on: October 03, 2018, 06:02:18 am »
A MDG diagram has something stored in t_diagram.styleEx. E.g. an Archimate diagram has stored
Code: [Select]
MDGDgm=Archimate2::Business; Make a
Code: [Select]
SELECT * FROM t_diagramto identify your SysML diagram (I don't have that installed). Then patch a normal class diagram by adding the appropriate string to StyleEx.

q.
« Last Edit: October 03, 2018, 05:51:34 pm by qwerty »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: BDD Diagrams imported via MDZIP file
« Reply #4 on: October 03, 2018, 09:21:28 am »
Or from the UI, it's ribbon | Design | Diagram | Edit | Change Type
The Sparx Team
[email protected]

DanaMaxwell

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: BDD Diagrams imported via MDZIP file
« Reply #5 on: October 04, 2018, 02:24:52 am »
Or from the UI, it's ribbon | Design | Diagram | Edit | Change Type

Thanks, this is what I was looking for.

I can only assume that the MDZIP format doesn't explicitly support Block Definition Diagrams therefore they are handled generically as Class diagrams? Or, is this a result of the export not expressing the type or the import not reading the type?


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: BDD Diagrams imported via MDZIP file
« Reply #6 on: October 04, 2018, 05:13:07 am »
Transporting non-UML (like SysML) between different tools is even more difficult than exchange of pure UML. Even the latter often fails due to different interpretations of the standard.

q.