Hello everyone!
I am currently looking for a way duplicate a feature, together with all behaviors, output ports and so on. The connected FTA model with the same name should also be duplicated and "represents" traces linked to their duplicated counterparts in that FTA model. So instead of using derive -> variant, the user can execute the script on the selected element and the copies will be created.
Is there any efficient way to copy whole diagrams/models or packages together with all their contained elements? Can the derive or the copy function be executed through JS?
Also, can only diagrams be copied using "copy"? Since this gives new unique mediniIdentifiers, it would be better then derive for this usecase.