[Gmsh] How to deactivate all Views when loading msh file with hundreds of $ElementData?

mianzhi wangmianzhi1 at hotmail.com
Tue Jul 19 16:02:43 CEST 2011


On 2011年07月19日 09:41, 蔡园武 wrote:
> Hello everyone,
> I have a .msh file containing hundreds of $ElementData field. When I
> open this file in gmsh, it displays all $ElementData with each in a
> View[], and it becomes mess and slow.
> Is there a way not to display all Views as default?
> Thank you!
Hi,
You might need to make an ascii option file "xxx.msh.opt" for the mesh
file "xxx.msh".
To hide the views, you can add the following lines in the "xxx.msh.opt"
"

    View[0].Visible = 0;
    View[1].Visible = 0;
    View[2].Visible = 0;
    ...

"
Hopefully it helps.

mianzhi
>
> -- 
> Cai Yuanwu 蔡园武
> Dept. of Engineering Mechanics,
> Dalian University of Technology,
> Dalian 116024, China
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20110719/610e7b80/attachment.html>