<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="qrichtext" content="1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi, </div>
<div><br>
</div>
<div>I would like to write a script that hides all visible pipeline objects and then shows individual objects based on their names in the pipeline browser.  </div>
<div><br>
</div>
<div>Specifically, I have imported multiple PLY files (e.g. 3rd-Ventricle.ply) and added source filter objects (e.g. cylinders).  When I use Hide(), it will hide the active object, but if I try Hide(“3rd-Ventricle.ply”) I receive the following error: </div>
<div><br>
</div>
<div>
<p style="margin: 0px;"><!--StartFragment--><span style=" font-family:'Courier'; font-size:13pt; color:#ff0000;">Traceback (most recent call last):</span></p>
<p style="margin: 0px;"><span style=" font-family:'Courier'; font-size:13pt; color:#ff0000;">File "<string>", line 6, in <module></span></p>
<p style="margin: 0px;"><span style=" font-family:'Courier'; font-size:13pt; color:#ff0000;">File "/Applications/paraview.app/Contents/Python/paraview/simple.py", line 418, in Hide</span></p>
<p style="margin: 0px;"><span style=" font-family:'Courier'; font-size:13pt; color:#ff0000;">controller.Hide(proxy, proxy.Port, view)</span></p>
<p style="margin: 0px;"><span style=" font-family:'Courier'; font-size:13pt; color:#ff0000;">AttributeError: 'str' object has no attribute 'Port'</span><!--EndFragment--></p>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Kevin</div>
<div><br>
</div>
<div>
<div>
<div>-- </div>
<div>
<div>Kevin Hallock</div>
<div>Visualization and Modeling, Quantitative Medicine</div>
<div>Neuroscience and Pain Research Unit</div>
<div>Worldwide Research and Development</div>
<div>Pfizer Inc</div>
<div>610 Main Street</div>
<div>Cambridge, MA 02139</div>
<div>Email: <a href="mailto:kevin.hallock@pfizer.com">kevin.hallock@pfizer.com</a></div>
<div>Fax: 845-474-4001</div>
</div>
</div>
</div>
</body>
</html>