[Gmsh] Setting the data source from a POS file

Geordie McBain gdmcbain at freeshell.org
Mon Jun 29 08:38:29 CEST 2009


On Mon, Jun 29, 2009 at 2:28 PM, Matt
Salveson<salveson at gaia.ecs.csus.edu> wrote:
> I want to be able to plot stress contours to a deformed mesh.  This is
> somewhat addressed in the FAQ in the GMSH user's manual (question 7.6).
> I can do this interactively from the GUI by setting the data source to
> point to the correct view (this works well).  However, I cannot seem to
> find a script command to add to a POS  file that does this.  For
> example, to use View 0 as the data source for View 1, there should be
> something like :
>
> View[1].DataSource = 0;
>
> Any suggestions?

I think it's `View[1].ExternalView = 0;'.  See
http://geuz.org/gmsh/doc/gui_tutorial_2/range2.html.