REC/RPL How to remove an element from REC without deleting it

Hello,

I’m working with library and REC. I’m looking for the method who allow me to suppress a function from a REC without deleting the function from the model.
For the moment i tried to udpate the REC and in the wizard i use the “remove selected element” from REC, but when i appliy the changen the function is deleted from model, or i want to keep it.

No one has an idea?

One option may be (may be) to display in the project explorer the references from the REC to your model elements, and find the relation to your function, and delete only this reference.
One way to find it may be to select your function in your model, go to the semantic explorer and select the relation to the REC.

Yes indeed, if the REC contains only functions without functional dependencies between them, is relatively easy to find the "Link to ‘PhysicalFunction’ to suppress.
But if the functions of the REC have functional depencies between them, like in the example below :
Capture d’écran 2024-10-03 100142
The Explorateur mkes it easy to find the function to remove from the REC
Capture d’écran 2024-10-03 100201
But if we remove it from the REC, we have the following result :
Capture d’écran 2024-10-03 100900
The Link of the FIP and FOP are always here, and on more complexe case it can be hard to find all the link to remove too. Especially as description of link are not very helpfull.
And in this example i forgot to add functional exchange in the REC. So we have to remove the link to functional Port of the function and all the functional exchange…

I wonder if what you are trying to do is to be achieved with the function “Update REC from selection” function. Reading the documentation, it looks like this is what you’re looking for (Capella Guide> User Manual > Replicable Elements > Update of a REC from its SOURCE)

If i use the “Update Rec from selection”, in the windows that open i select the function i’d like to remove from REC and click on the “remove selected elemen”, the if i applied the change, the function is deleted from model. So the REC is well cleared, but i’d like to keep my function.
So, i can instance a replicate of the function, dissaciotated and then remove the function from REC, but i find it a little bit complicated.

Indeed, this is not ideal I think.