[Paraview] setting filename in python on ImageTexture

Berk Geveci berk.geveci at kitware.com
Tue Mar 24 14:35:03 EDT 2009


I'll take a look soon. I am accumulating all the Python issues to deal
with all together before the release.

-berk

On Mon, Mar 23, 2009 at 2:48 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:
> Also, if I try to access:
>
> tex.GetProperty('FileName').GetElement(0)
>
> I get a "Bus error".
>
> This is related to the fact that it thinks that "This property requires 0
> values"
>
> -Eric
>
>
> On Mar 23, 2009, at 2:43 PM, Eric E. Monson wrote:
>
>> Hey Jean,
>>
>> This has got to be a bug with ImageTexture. I can't get this FileName set,
>> either.
>>
>> Another example like sources.VectorText with a String VectorProperty
>> (.Text) still works fine in CVS.
>>
>> I'm stumped, but I'll let you know if I come across anything.
>> -Eric
>>
>>
>> On Mar 23, 2009, at 11:09 AM, Jean Favre wrote:
>>
>>> CVS users,
>>>
>>> how does one set the FileName of a
>>>
>>> tex = servermanager.rendering.ImageTexture(SourceProcess=16)
>>> tex.FileName="/tmp/foobar.jpg"
>>>
>>> ?
>>>
>>> I am getting an error while setting the FileName. The code used to work
>>> under 3.4
>>>
>>> thanks for any hint
>>>
>>> Jean--
>>> Swiss National Supercomputing Center
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/mailman/listinfo/paraview
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list