You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I 'm using Capella 5.2 and i noticed a few problems in the .capella file when declaring new functions and components with Declarative Modelling and YAML file. The elements declared with py-capellambse are not the same than the ones declared directly in Capella and do not have all the informations displayed ine the Semantic Browser. These problems can, sometimes, corrupt the Capella Project so it can't be opened in Capella anymore.
For logical and physical functions, the xml tag is ownedFunctions and not ownedLogicalFunctions, so the function is not recognized in Capella.
For components :
sourceElement attribute is missing in the <ownedFunctionalAllocation/> tag
a tag <ownedFeatures/> should be added when declaring new components
in pa, when adding a deployment link between Behavior and Node component with deployed_parts, the following line should be added at the top of the .capella file : xmlns:org.polarsys.capella.core.data.pa.deployment="http://www.polarsys.org/capella/core/pa/deployment/5.0.0"
I hope this will help you,
Thanks
The text was updated successfully, but these errors were encountered:
@olive2205, any chance you could share some YAML example of what you are trying to do? (obfuscated will be fine too) - it will help us to reproduce your scenario a bit faster
For the last part of this (creating a matching Part when creating a Component, which currently has to be done explicitly), I was going to revive the now linked PR. But that has grown a bit beyond its original scope, so I first have to clean it up a little. But the good news is that I'm now actually working on it :)
Hi,
I 'm using Capella 5.2 and i noticed a few problems in the .capella file when declaring new functions and components with Declarative Modelling and YAML file. The elements declared with py-capellambse are not the same than the ones declared directly in Capella and do not have all the informations displayed ine the Semantic Browser. These problems can, sometimes, corrupt the Capella Project so it can't be opened in Capella anymore.
For logical and physical functions, the xml tag is
ownedFunctions
and notownedLogicalFunctions,
so the function is not recognized in Capella.For components :
sourceElement
attribute is missing in the<ownedFunctionalAllocation/>
tag<ownedFeatures/>
should be added when declaring new componentsdeployed_parts
, the following line should be added at the top of the .capella file :xmlns:org.polarsys.capella.core.data.pa.deployment="http://www.polarsys.org/capella/core/pa/deployment/5.0.0"
I hope this will help you,
Thanks
The text was updated successfully, but these errors were encountered: