<div class="gmail_quote"><br><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">Thanks for your quick answer Ken, do you know a way to get the particular instance of that object given a pipeline?</span></font><div>
<div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">
On Thu, Feb 5, 2009 at 5:38 PM, Moreland, Kenneth <span dir="ltr"><<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">I don't know the answer to this question, but you may want to look at the code for the pqObjectInspectorWidget::accept() method. This is the method that gets called when you hit the Apply button.<br>
<br>
-Ken<div><div></div><div><br>
<br>
<br>
On 2/5/09 2:49 PM, "Juan Fernando Duque Lombana" <<a href="http://jduquelo@eafit.edu.co" target="_blank">jduquelo@eafit.edu.co</a>> wrote:<br>
<br>
</div></div></span></font><div><div></div><div><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">Good day,<br>
<br>
I'm a newbie in this big paraview world and I would like to know if there's a way to do the following:<br>
<br>
I'm trying to load a VRML 2.0 file using the following command:<br>
<br>
<br>
myVRML=builder->createReader(QString("sources"), QString("vrmlreader"),QStringList(temp), s);<br>
<br>
Where temp contains the filename and s the pqServer.<br>
The VRML is now shown in the pipeline browser BUT it is needed for me to press by hand the "Accept" button in the correspondant Object Inspector.<br>
<br>
The question is: is there any way to call that button by code? I haven't found a way and its killing me.<br>
<br>
Hope anyone can help me! It will be really appreciated,<br>
<br>
... Juan Fernando Duque Lombana.<br>
<br>
</span></font></blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;"><br>
</span></font></div></div><font size="2"><font face="Consolas, Courier New, Courier"><span style="font-size: 10pt;"><br>
**** Kenneth Moreland<br>
*** Sandia National Laboratories<br>
*********** <br>
*** *** *** email: <a href="http://kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a><br>
** *** ** phone: (505) 844-8919<br>
*** web: <a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/~kmorel</a><br>
</span></font></font><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;"><br>
</span></font>
</div>
</blockquote></div><br><br clear="all"><br></div></div>-- <br><font color="#888888">... Juan Fernando Duque Lombana.<br>
</font></div><br><br clear="all"><br>-- <br>... Juan Fernando Duque Lombana.<br>