Hi Michael,

I think you need to look on:
- pqProxy::setModifiedState(ModifiedState modified);
- vtkSMProxy::Modified();
- vtkSMProperty::SetImmediateUpdate();

I did a similar copy/paste application but also you can copy and paste sources and readers on the root. I didn't try to add the auto-apply because some time the users wants to changes a value before applying.

I have a question: Is your copy/paste work on clip filter ? I mean is the widget position copying working or the widget always reset it's position ?

Nehme




Message: 1
Date: Mon, 02 Feb 2009 16:40:55 +0100
From: Michael Geppert <[email protected]>
Subject: [Paraview] Press Apply Button from Toolbar
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

Hi everyone,

I wrote a toolbar plugin with a copy & paste function for filter pipelines. My toolbar button just copies the selected part of the pipeline to the selected source. Now I would like my filter to auto-press the apply button of every newly-created filter, is this possible somehow?

Thanks!

Michael Geppert


------------------------------

_______________________________________________
ParaView mailing list
[email protected]
http://www.paraview.org/mailman/listinfo/paraview


End of ParaView Digest, Vol 58, Issue 1
***************************************

_______________________________________________
ParaView mailing list
[email protected]
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to