Book a Demo

Author Topic: Creating SysML diagrams with automation interface  (Read 3241 times)

Svendsen

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Creating SysML diagrams with automation interface
« on: June 27, 2019, 03:32:09 pm »
Hey guys,

as said in the documentation for the diagram class, valid types are:

-Activity
-Analysis
-Component
-Custom
-Deployment
-Logical
-Sequence
-Statechart
-Use Case

Is it possible to add SysML types like BlockDefinition diagrams?

Greets Sven

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Creating SysML diagrams with automation interface
« Reply #1 on: June 27, 2019, 03:40:21 pm »
Sven,

Technically SysML diagrams are one of one of the listed type, but with a stereotype (check the database to make sure which base type is used)
You can either create the base diagram type, and then set the stereotype, or you can (probably) create it directly by passing the fully qualified meta type to the AddNew() operation.
That would be something similar to "SysML1.1::BlockDiagram"

Geert

Svendsen

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Creating SysML diagrams with automation interface
« Reply #2 on: June 27, 2019, 03:43:47 pm »
Sven,

Technically SysML diagrams are one of one of the listed type, but with a stereotype (check the database to make sure which base type is used)
You can either create the base diagram type, and then set the stereotype, or you can (probably) create it directly by passing the fully qualified meta type to the AddNew() operation.
That would be something similar to "SysML1.1::BlockDiagram"

Geert

Hello Geert,

thanks for your fast reply. I will give it a try

Sven

Svendsen

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Creating SysML diagrams with automation interface
« Reply #3 on: June 27, 2019, 04:24:51 pm »
In case of the Block definition diagram, the type "SysML1.4::BlockDefinition" worked for me.
Greets