> On 19 Sep 2019, at 18:29, SilveiraPO . <[email protected]> wrote: > > Dear gmsh, > > I would like to know if it's possible to interact with an active gmsh > instance with gmsh's api. > So for example, i would have an instance of gmsh openen (with the gui), and > then do operations on it with the api. > Is this possible, and if yes how?
Run the GUI through the API: then you'll have full control of the event loop. See https://gitlab.onelab.info/gmsh/gmsh/blob/master/demos/api/custom_gui.py for an example. Christophe > > Thanks in advance! > _______________________________________________ > gmsh mailing list > [email protected] > http://onelab.info/mailman/listinfo/gmsh — Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine _______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
