refresh information
I encounter an issue with refreshing information using gmsh.py. Here are two examples:
i) Fail to refresh information while loading two different geo:
file= 'test1.geo'
gmsh.initialize()
gmsh.open(file)
print(gmsh.onelab.getNumber('Parameters/R')[0])
gmsh.clear()
gmsh.finalize()
file= 'test2.geo'
gmsh.initialize()
gmsh.open(file)
print(gmsh.onelab.getNumber('Parameters/R')[0])
gmsh.clear()
gmsh.finalize()
ii) Needs two successive upload to perform task. While uploading a file, the first trial fails, while the second trial succeeds. Example
import gmsh
gmsh.initialize()
gmsh.merge('test.pos')
gmsh.plugin.run("CutParametric")
gmsh.finalize() ## FAILS
gmsh.initialize()
gmsh.merge('test.pos')
gmsh.plugin.run("CutParametric")
gmsh.finalize() ## SUCCEEDS
If you know what I am doing wrong, please tell me the correct synthax. Thanks, Olivier
Edited by Christophe Geuzaine