I have built a Toolbar plugin in paraview with a button that applies extractblock filter to a multiblock dataset<br>so as to get all the blocks seperately in different objects in the pipeline browser.<br><br>I achieve getting the number of blocks from the selected multiblock but I don&#39;t <br>

want to push apply button for each filter that has been created<br><br>so got suggested about creating a pqAutoApplyReaction object and setting auto-apply to true, creating my filters<br>and setting it back to false. <br>
<br>pqAutoApplyReaction * autoapply=new pqAutoApplyReaction();<br>gives me an error:<br>ASSERT: &quot;parentObject != NULL&quot;<br><br>and:<br>pqAutoApplyReaction * autoapply=new pqAutoApplyReaction(a);<br>where &quot;a&quot; is a QAction* attribute of my GUI class<br>
gives me an error:<br>libGUIMyToolBar.so: undefined symbol: _ZN19pqAutoApplyReaction12setAutoApplyEb<br><br>do I have to put a specific object in pqAutoApplyReaction constructor?<br><br>