[Paraview] FILE > OPEN plugin

Jorge Mario Mazo jmm.mecanica at gmail.com
Fri Jan 9 11:37:07 EST 2009


Hi there
I'm very new to paraview
and I dont know what a lookmark is, where can I find more info about it?

thanks

On Fri, Jan 9, 2009 at 5:29 AM, Jacques Papper <jacques.papper at gmail.com>wrote:

> If you want something graphical why don't you just use the lookmarks ?
> Load the data you want and then just apply your lookmark.
> Jacques
>
> 2009/1/9 Jorge Mario Mazo <jmm.mecanica at gmail.com>
>
> Hi everyone
>>
>> I have tried the python way and it works, but it´s kind of ugly,  and boss
>> kind of wants a more graphic thing, so what I´m doing is making a filechoser
>> in qt and then TRYING to pass the file name to the python script!
>> so far no success.
>>
>>
>> A couple of minutes ago I had this idea: write a file choser in python/TK,
>> and run the script from paraview, any ideas if that would work?
>>
>> anyway thank to all, good tips
>>
>>
>>
>>
>> On Thu, Jan 8, 2009 at 9:21 AM, Jean Favre <jfavre at cscs.ch> wrote:
>>
>>> On 08, Jan 2009 01:33 PM, mirko heuegger <mheuegger at gmail.com> wrote:
>>>
>>> >you mean, using the _same_ paraView state-file, but different
>>> >'data'-files?
>>> >if so, this is not really possible.
>>>
>>> There is a solution, using the Python Shell.
>>>
>>> 1) load your existing state file
>>> 2) identify the name of your data object in the pipeline browser. It is
>>> usually the filename stripped of its directory name
>>> 3) open the Python Shell and type
>>>
>>> pm = servermanager.ProxyManager()
>>> reader = pm.GetProxy('sources', 'filename')        # where 'filename' is
>>> the string found above in 2)
>>>
>>> # your data object is likely to have a name called FileName.
>>> # you may print it to verify
>>> reader.FileName
>>> # you may change it to a new filename
>>> reader.FileName = "your new filename"
>>>
>>> 4) Forcing the render window to refresh itself will be enough to cause
>>> the update of the whole pipeline. Otherwise, you get a handle to your
>>> view and call StillRender, i.e.
>>>
>>> view = servermanager.GetRenderView()
>>> view.StillRender()
>>>
>>> --
>>> Jean --
>>> Swiss National Supercomputing Centre
>>>
>>> _______________________________________________
>>> ParaView mailing list
>>> ParaView at paraview.org
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>>
>>
>> _______________________________________________
>> ParaView mailing list
>> ParaView at paraview.org
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090109/a8c8d909/attachment-0001.htm>


More information about the ParaView mailing list