Hi everyone,
I am deleting by script some dozens of event nodes, events, transfer gates etc which are not being used anymore. Afterwards, I run a second script which looks for empty FTA diagrams and delete them. This is working up to the cases below (unrestored subtree).
Before event deletion, the diagram below has of course one child (PJDiagram.diagram.children.size() = 1). After deletion the second script weirdly still see a child in the diagram (!!). However, if before running the second script I open and close the diagram, the number of children is updated to the expected zero.
How can I deal with that? Is there an way of updating the diagrams without having to open and close them one by one?
Thanks for any support!
Cheers, Andre
