OK great, I’ve followed the help and that works
There was a slight difference to the help in that the help indicates a functional exchange should be associated to an exchange item, that didn’t happen for me. But the exchange was present when I created the RPL
Although I do have a question, is there any way to delete all uses of components from a RPL? For example I add an RPL to multiple views and later decide I want to remove them, I can delete the RPL from the project explorer but that does not remove uses of the components. I can do a search for the suffix in the project explorer assuming I added one to find uses, is there another way?
With the library I also wanted to try editing the RPL and syncing that back into the library. The steps I took were:
- Make the referenced libraries Access Policy to readAndWrite
- Instantiate the RPL from the REC in the library with Compliancy set to INHERITANCY_REUSE
- Add new functions and exchanges
- Update the REC from the RPL
This added the new functions and exchanges into the referenced library but caused issues in the source library. The existing views had a java extension and were no longer available and ultimately I got a stack overflow
Is that behaviour not possible? Is that what is meant by this statement in the usage restrictions?
“•Perform action that creates a reference between two objects from different models M1, M2 (project or library) where M2 is referencing M1. For instance, if a project is referencing a library, create a generalization from a class in the library to a class in the project. Such a situation can be obtained when moving graphically elements between diagrams. Future version of Capella will provide an automatic check to prevent such a situation.”
If so then is there a way to be able to sync changes to a rec in a project back into a library? I would like to contain a master library that people reference, iterate the design of the RECs and then through a change process sync any changes back into the master library and then push these to instantiations of that rec in other projects. This would allow us to work efficiently across the organisation
Thanks
Stu