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++;
    }
  }
}

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 ++ ; } } }
exports one vna archive per scope and keeps the original scope - id of every single scope .
