question: private void exportOneVnaPerScope ( ) throws CommandException , IOException { Set < CnATreeElement > elementSet = dialog . getSelectedElementSet ( ) ; if ( elementSet != null && elementSet . size ( ) > 0 ) { int i = 0 ; for ( CnATreeElement element : elementSet ) { export ( Arrays . asList ( element ) , i ) ; i ++ ; } } }
target:  Exports one VNA archive per scope and keeps the original scope-id of every single scope.