[Gmsh] Interacte with gmsh api (python or c++)

Christophe Geuzaine cgeuzaine at uliege.be
Thu Sep 19 19:58:24 CEST 2019



> On 19 Sep 2019, at 18:29, SilveiraPO . <tsilveira1993 at gmail.com> 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
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine






More information about the gmsh mailing list