<HTML>
<HEAD>
<TITLE>Re: [Paraview] Fwd: C++ Reader execution</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>No (maybe someone else knows). You may try to just replicate the method. The accept operation is not tied to any particular pipeline object; it simultaneously updates all of them.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 2/6/09 1:16 PM, "Juan Fernando Duque Lombana" <<a href="jduquelo@eafit.edu.co">jduquelo@eafit.edu.co</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
Thanks for your quick answer Ken, do you know a way to get the particular instance of that object given a pipeline?<BR>
<BR>
<BR>
On Thu, Feb 5, 2009 at 5:38 PM, Moreland, Kenneth <<a href="kmorel@sandia.gov">kmorel@sandia.gov</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><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<BR>
<BR>
<BR>
<BR>
On 2/5/09 2:49 PM, "Juan Fernando Duque Lombana" <<a href="jduquelo@eafit.edu.co">jduquelo@eafit.edu.co</a> <<a href="http://jduquelo@eafit.edu.co">http://jduquelo@eafit.edu.co</a>> > wrote:<BR>
<BR>
</SPAN></FONT><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><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="kmorel@sandia.gov">kmorel@sandia.gov</a> <<a href="http://kmorel@sandia.gov">http://kmorel@sandia.gov</a>> <BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a> <<a href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/%7Ekmorel</a>> <BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="1"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:7.5pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">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>
</BODY>
</HTML>