How to recover data from a template ?

Hello,
I don’t know if it’s the right place to post but here is my problem.
I’m trying to program a plugin for capella to detect functional chain removed when we remove a component, or an element from a component from a template.
Here you can see an example of a simple template.
http://imagesia.com/?utm_campaign=lc&utm_medium=bbcode
I want to know how I can recover the data of a component, a feature or an element to exploit it in my plugin.
Regards,
Matthieu Durot

Hello
I am not sure to understand what you mean by “template” and by “recover” in this case.
I am trying to reformulate, please let us know whether this is what you are looking for.

  • You would like to implement a kind of impact analysis that would list which functional chains would be (partially) impacted by the deletion of this component.
  • You want to automatically delete the functional chains going through a component when this component is destroyed. (in that case, what would you do with the functions?)
    What do you need precisely, hints about the API of Capella? We can post one or two diagram explaining the formal relationships between Components, Functions, and Functional Chains.
Copyright © Eclipse Capella, the Eclipse Capella logo, Eclipse and the Eclipse logo are Trademarks of The Eclipse Foundation.