<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Hide and show entities</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have a mesh file and want to visualize only selected entities in gmsh. In the GUI, I can dio that using Tools->Visibiliy and selecting the entities I want to see. Now I would like to do that automatically at startup. I have written a small geo file with the following commands: </FONT></P>

<P><FONT SIZE=2 FACE="Arial">Merge "Myfile.msh";</FONT>

<BR><FONT SIZE=2 FACE="Arial">Hide "*";</FONT>

<BR><FONT SIZE=2 FACE="Arial">Show { Surface {10}; }</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Now the problem is that Surface 10 is not shown, whereas when I write</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Merge "Myfile.msh";</FONT>

<BR><FONT SIZE=2 FACE="Arial">Hide { Surface {10,12}; }</FONT>

<BR><FONT SIZE=2 FACE="Arial">Show { Surface {10}; }</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">surface 12 is hidden, and surface 10 is shown, as well as all the other surfaces in the file. If I want to see only surface 10 that way, I would have to list all other surfaces in the Hide command.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Is there another way to hide all entities except one?</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">Thank you for a hint,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Matthias</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">----------------------------------------------------------------</FONT>

<BR><FONT SIZE=2 FACE="Arial">ERBE Elektromedizin GmbH</FONT>

<BR><FONT SIZE=2 FACE="Arial">Dr.rer.nat. Matthias Zenker</FONT>

<BR><FONT SIZE=2 FACE="Arial">Dipl. Phys.</FONT>

<BR><FONT SIZE=2 FACE="Arial">Grundlagenentwicklung / Fundamental Development</FONT>

<BR><FONT SIZE=2 FACE="Arial">Waldhoernlestrasse 17</FONT>

<BR><FONT SIZE=2 FACE="Arial">72072 Tuebingen</FONT>

<BR><FONT SIZE=2 FACE="Arial">Germany</FONT>

<BR><FONT SIZE=2 FACE="Arial">Phone + 49 (0) 7071 755 - 226</FONT>

<BR><FONT SIZE=2 FACE="Arial">Fax + 49 (0) 7071 755 - 5226</FONT>

<BR><FONT SIZE=2 FACE="Arial">E-Mail: <</FONT><A HREF="mailto:Matthias.Zenker@erbe-med.com"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">mailto:Matthias.Zenker@erbe-med.com</FONT></U></A><FONT SIZE=2 FACE="Arial">></FONT>

<BR><FONT SIZE=2 FACE="Arial">URL: </FONT><A HREF="http://www.ERBE-med.com"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://www.ERBE-med.com</FONT></U></A>

<BR><FONT SIZE=2 FACE="Arial">----------------------------------------------------------------</FONT>
</P>

</BODY>
</HTML>