<div dir="ltr">Hi all,<br><br>I want to know how can i make a paraview render window to stop closing after its opening... Our method is to connect through the servermanager and load a VTK file (via a dialog), but once loaded we have to make the thread to sleep for some time to view its contents. I want to avoid sleeping the thread, i want more like an embedded window or a side frame that never closes, so i can have some interaction with it.<br>
<br>The code:<br><br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; sm.Connect()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; reader = sm.sources.LegacyVTKFileReader(FileNames=dialog.GetPath())<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; renWin = sm.CreateRenderView()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rep = sm.CreateRepresentation(reader,renWin)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; renWin.StillRender()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; renWin.ResetCamera()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; renWin.StillRender()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; time.sleep(5)<br><br><br>Is there another place besides the Wiki where we can search for info about python scripting and API?<br>
<br><br>Thanks in advance<br><br><br>Camilo<br></div>