I am facing the following issue when I want to update an existing REC and my question is : which mistake did I make?
I created a REC, from PA, with structural parts (1 node and 1 behavior component) and 2 functions allocated to the behavior component.
If I update my REC (right click on the REC->REC/RPL->Update REC->from selection), and remove a function, this function will be deleted in the model (not only the link in the REC)
As a consequence, the only way I have found to remove the function from the REC is to go in the project explorer, in the REC itself, and remove manually the links to the function I want to remove.
I want to remove an element in the REC (not in the source, only to modify the REC content)
I checked the documentation once again.
It is explained how to :
update a REC from its source (by adding/removing elements from the model)
update a REC from one of its RPL
doesn’t comply with what I want to do as the model elements are modified/deleted
I still face the same issue : once the DiffMerge view is open, removed elements (those I want to remove in the REC) are highllighted in the right widget. If I select them and select “Apply deletion on the right”, the source elements are also removed.
When you right click on the REC->REC/RPL->Update REC->from selection, remove an element, this element is deleted (in the model) instead of REC link deletion
I created a lib. This lib contains all features I need. My RECs are a catalog of sub-systems. Each REC has a set of features described in my model. If I want to remove a feature from a REC (whatever is the reason), I need to update this REC by removing an element. And here is my issue : it deletes it in the source, not only the links in the REC.
The REC is only an envelope for the source/origin to transport your “feature” into your other models. The source/origin is the master. You should not modify the REC itself.