开发者

How to transform a topcased sysml model into a rhapsody sysml model?

开发者 https://www.devze.com 2023-03-07 15:00 出处:网络
I\'m trying to conv开发者_StackOverflowert existing Topcased SYSML models to Rhapsody SYSML models.

I'm trying to conv开发者_StackOverflowert existing Topcased SYSML models to Rhapsody SYSML models. It is possible to convert UML models with the Rhapsody XMI Toolkit. Unfortunately it doesn't work with SYSML models because topcased uses another sysml profile than rhapsody. A bidirectional transformation would be even better, but topcased->rhapsody is more important. Any ideas how to accomplish this?


well the "easiest" thing you can do is: - make a simple SysML model in Rhapsody with few blocks, aggregatios, dependencies, ports, connectors and the elements you want to import from your topcased models; - export this model by means of the Rhapsody XMI toolkit in order to have an example of the XML format in which you need to turn your original Topcased models; - define an Acceleo transformation that transforms your original model elementes (i.e. Blocks, ports, etc.) into an XML conform to the Rhapsody XMi schema; - import the obtained files in Rhapsody.

Acceleo is an Eclipse implementation of the OMG standard MOF Models To Text Transformation Language. You can find it already available in TopCased.

This procedure will import the model not the diagrams. You should then create them on you own directly in Rhapsody.

I hope this helps you

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号