# - getVariables (pyTree) - import Converter.Filter as Filter import Converter.PyTree as C import Generator.PyTree as G # Create test case a = G.cart((0,0,0), (1,1,1), (10,10,10)) C._initVars(a, 'F', 0) C._initVars(a, 'centers:G', 1) C.convertPyTree2File(a, 'file.hdf') # Create a handle on a CGNS file h = Filter.Handle('file.hdf') # Load skeleton a = h.loadSkeleton() # Get variables from file vars = h.getVariables(); print(vars) #>> ['FlowSolution/F', 'FlowSolution#Centers/G']