<div dir="ltr">Sebastien,<div><br><div><div class="gmail_quote"></div></div></div><div dir="ltr"><div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FR" link="blue" vlink="purple"><div><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">1/ Where can I find the property helper to set for a given proxy?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u></span></p></div></div></div></blockquote><div><br></div></div></div></div></div><div dir="ltr"><div><div><div class="gmail_quote"><div>Include the header vtkSMPropertyHelper [1].</div></div></div></div></div><div dir="ltr"><div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FR" link="blue" vlink="purple"><div><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2/ You are using a variable renderView. I assume that it matches to the current active render view.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">How can I get it? With something like pqActiveObjects::instance().activeView()??</span></p></div></div></div></blockquote><div><br></div></div></div></div></div><div dir="ltr"><div><div><div class="gmail_quote"><div>That's right. vtkSMPropertyHelper works on vtkSMProxy, so you can do something as follows:</div><div><br></div><div>vtkSMProxy* renderView = pqActiveObjects::instance().activeView()->getProxy();</div><div><br></div><div><div>Utkarsh</div><div><br>[1] <a href="http://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/classvtkSMPropertyHelper.html" target="_blank">http://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/classvtkSMPropertyHelper.html</a></div></div><div><br></div></div></div></div></div></div>