}
//======
// Query Holds ExecuteResult (for Axis).
rex.metadata.Query q=new rex.metadata.Query(getCubeName(),null);
q.setQuery(new ExecuteResult(smd.execute(removeComments(noNonEmptyQuery),execProperties),new Query(getCubeName(),null)));
// Getting Model and root of MDX Builder Tree.
JTree bTree=builderTree.getTree();
DefaultTreeModel treeModel=(DefaultTreeModel) bTree.getModel();
DefaultMutableTreeNode root=(DefaultMutableTreeNode)treeModel.getRoot();