<html><head><style> body {height: 100%; color:#000000; font-size:12pt; font-family:Times New Roman;}</style></head><body>Hi Utkarsh,<br><br>Thank you for your reply<br>.<br>I tried to add a small code into Prinself function to know it's good.<br>So I add : <br>os << extent << " Here is my attribute : " << this->myAttribute << "\n";<br><br>Recompiled, load the plugin into Paraview.<br>I tried print reader2.GetClientSideObject() (reader 2 is a output type vtkImageData);<br><br>There is something, but I din't find any information about "myAttribute"<br><br>I wonder if we have to modify the .xml file, for exemple command="PrintSelf" to acces to this function?<br><br>Thank you very much again for your help.<br><br>Tuan Ha<br><br>----- Original Message -----<br>From: Utkarsh Ayachit <utkarsh.ayachit@kitware.com><br>To: Tuan Ha Tran <tuan-ha.tran@insa-lyon.fr><br>Cc: paraview-developers@paraview.org, paraview@paraview.org<br>Sent: Thu, 07 Jun 2012 12:36:45 +0200 (CEST)<br>Subject: Re: [Paraview] Function PrintfSelf - Utilisation in ParaView<br><br>If you're not running in client-server mode, you can simply do the<br>following in the Python shell to call the PrintSelf method:<br><br>> print proxy.GetClientSideObject()<br><br>On Thu, Jun 7, 2012 at 4:26 AM, Tuan Ha Tran <tuan-ha.tran@insa-lyon.fr> wrote:<br>> Hi everybody,<br>> PrintSelf is a function that every vtk Class can have to write out<br>> something.<br>> I wonder how can we use that class in ParaView, then Python Shell?<br>> Do we have to write the .xml Server Manager file to use PrintSelf. And<br>> if yes, can anyone tell me how?<br>> Thank you very much in advance.<br>><br>> _______________________________________________<br>> Powered by www.kitware.com<br>><br>> Visit other Kitware open-source projects at<br>> http://www.kitware.com/opensource/opensource.html<br>><br>> Please keep messages on-topic and check the ParaView Wiki at:<br>> http://paraview.org/Wiki/ParaView<br>><br>> Follow this link to subscribe/unsubscribe:<br>> http://www.paraview.org/mailman/listinfo/paraview<br>><br><br></tuan-ha.tran@insa-lyon.fr></body></html>