Book a Demo

Author Topic: Custom Metamodel Diagram View  (Read 4297 times)

Hurra

  • EA User
  • **
  • Posts: 184
  • Karma: +0/-0
    • View Profile
    • Find me at LinkedIn!
Custom Metamodel Diagram View
« on: October 17, 2019, 07:38:00 pm »
Hi!

Does anyone else have problems following this:

https://www.sparxsystems.com.au/enterprise_architect_user_guide/15.0/modeling/custommetamodelview.html

?

I can't get it to work.. I follow the guide completely, as far as I can tell. I tried all types of spelling of the SysML1.4::BlockDefinition, I tried:
  • SysML1.4::BlockDefinition
  • SysML1.5::BlockDefinition
  • SysML1.4::Block Definition
  • SysML1.5::Block Definition
  • SysML 1.4::Block Definition
  • SysML 1.5::Block Definition
  • SysML 1.5::SysML 1.5 Block Definition

I really don't understand why I cant get this to work. Perhaps someone also had problems and can share what they did wrong..?

Thank you, Robert
always learning!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Custom Metamodel Diagram View
« Reply #1 on: October 17, 2019, 07:57:25 pm »
Robert,

To be sure of the spelling you can check either t_xref of an element with the correct stereotype, or open the SysML MDG file and find it there.
I've done this with ArchiMate in te past and it worked.

I did need to add an additional extends to the Class Metatype to get the profile helper to make my toolbox items by selecting my stereotype.

Geert

Hurra

  • EA User
  • **
  • Posts: 184
  • Karma: +0/-0
    • View Profile
    • Find me at LinkedIn!
Re: Custom Metamodel Diagram View
« Reply #2 on: October 19, 2019, 01:08:03 am »
Robert,

To be sure of the spelling you can check either t_xref of an element with the correct stereotype, or open the SysML MDG file and find it there.
I've done this with ArchiMate in te past and it worked.

I did need to add an additional extends to the Class Metatype to get the profile helper to make my toolbox items by selecting my stereotype.

Geert

Thank you!

I've run in to another problem.

I have stereotyped elements, which has a generalization relation to SysML1.4::block. The stereotyped element therefore has parts, references etc.

However, in my specification view, I don't have parts/properties etc as an option in visibility compartments, if not the view specification extends to SysML1.4::BlockDefinition.

How can I show parts on my stereotyped element, on my own created diagram, if not extended from SysML1.4::BlockDefinition hence listed under SysML1.5 -> Block Defnition -> myMDGProfile::myDiagram?

Thank you!

always learning!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Custom Metamodel Diagram View
« Reply #3 on: October 21, 2019, 08:54:46 am »