[Paraview] Writing IntegrateAttributes to CSV using Python

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Apr 16 12:19:35 EDT 2009


Bart,

I will have to check, but I am not sure there was a CSV writer in 3.4.
I am out of town this week. Let me check it out and get back to you.

Utkarsh

On Thu, Apr 16, 2009 at 2:22 AM,  <bart.boonacker at actiflow.com> wrote:
> Hello Utkarsh,
>
> Here I am again, but still no good results.
> A complete rebuild was done but still no AttributeDataToTableFilter :(
>
> Would it be possible to write the data in another way with Python, without
> having to program new filters ?
> So load VTK -> make Cut -> use calculator -> integrate -> export integrate
> results.
>
> Thanks, Bart
>
>
>
>
> On Fri, 10 Apr 2009 10:03:10 -0400, <bart.boonacker at actiflow.com> wrote:
>> No problem, I'll try it again and we'll see.
>> And if you maybe come up with another solution for writing out the
>> integrated variables, just let me know.
>>
>> With regards,
>> Bart
>>
>>
>> On Fri, 10 Apr 2009 09:57:06 -0400, Utkarsh Ayachit
>> <utkarsh.ayachit at kitware.com> wrote:
>>> Hmm ok. Sorry, I just can't seem to reproduce it here. It maybe
>>> something silly as it bringing in old libraries or something like
>>> that.
>>>
>>> Utkarsh
>>>
>>> On Fri, Apr 10, 2009 at 9:53 AM,  <bart.boonacker at actiflow.com> wrote:
>>>> Ok, I'll try it once more, but I have tried that before. We'll see what
>>>> happens.
>>>> As I am not available until wednesday I will let you know by then.
>>>>
>>>> Thanks for help so far,
>>>>
>>>> Bart
>>>>
>>>>
>>>> On Fri, 10 Apr 2009 09:50:13 -0400, Utkarsh Ayachit
>>>> <utkarsh.ayachit at kitware.com> wrote:
>>>>> I am not sure what the problem could be. Do you think you can do a
>>>>> clean rebuild?
>>>>>
>>>>> Utkarsh
>>>>>
>>>>> On Fri, Apr 10, 2009 at 9:48 AM,  <bart.boonacker at actiflow.com> wrote:
>>>>>> It the filters.xml it exists:
>>>>>>
>>>>>>    <!--
>>>>>> ==================================================================
>>>>>> -->
>>>>>>    <SourceProxy name="AttributeDataToTableFilter"
>>>>>>      class="vtkAttributeDataToTableFilter"
>>>>>>      label="Extract Attributes">
>>>>>>      <Documentation
>>>>>>        short_help="Extract attribute data as a table."
>>>>>>        long_help="Extract attribute data as a table.">
>>>>>>        This is a filter that produces a vtkTable from the chosen
>>>>>> attribute
>>>>>> in
>>>>>>        the input dataobject. This filter can accept composite
>>>>>> datasets. If
>>>>>> the
>>>>>>        input is a composite dataset, the output is a multiblock
>>>>>> with
>>>>>> vtkTable
>>>>>>        leaves.
>>>>>>      </Documentation>
>>>>>>      <InputProperty name="Input" command="SetInputConnection">
>>>>>>        <ProxyGroupDomain name="groups">
>>>>>>          <Group name="sources" />
>>>>>>          <Group name="filters" />
>>>>>>        </ProxyGroupDomain>
>>>>>>        <DataTypeDomain name="input_type">
>>>>>>          <DataType value="vtkDataObject" />
>>>>>>        </DataTypeDomain>
>>>>>>        <Documentation>
>>>>>>          The input.
>>>>>>        </Documentation>
>>>>>>      </InputProperty>
>>>>>> Bart
>>>>>>
>>>>>>
>>>>>> On Fri, 10 Apr 2009 09:44:56 -0400, Utkarsh Ayachit
>>>>>> <utkarsh.ayachit at kitware.com> wrote:
>>>>>>> Ok try this:
>>>>>>> In the source directory, open
>>>>>>> Servers/ServerManager/Resources/filters.xml
>>>>>>>
>>>>>>> Search for "AttributeDataToTableFilter". Does that exist?
>>>>>>>
>>>>>>> Utkarsh
>>>>>>>
>>>>>>
>>>>>>
>>>>
>> _______________________________________________
>> 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