Here is what I am doing at the moment.<br>-Load geometry 1<br>-Extract wing block<br><br>-Load geometry 2<br>-Extract wing block<br><br>Then use the resample filter with wing1 as input and wing2 as source<br>(this works)<br>
<br>The last bit is missing (that is merging the data from wing2 with the resampled data)<br><br>Jacques <br><br><div class="gmail_quote">2008/11/13 Berk Geveci <span dir="ltr"><<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Programmable filter can still be made to work. Do the datasets have<br>
multiple parts? I am not sure how resampling would work with multiple<br>
parts. It is impossible to guess which parts map to which parts...<br>
<br>
-berk<br>
<br>
On Thu, Nov 13, 2008 at 8:28 AM, Jacques Papper<br>
<div><div></div><div class="Wj3C7c"><<a href="mailto:jacques.papper@gmail.com">jacques.papper@gmail.com</a>> wrote:<br>
> They are multi-block datasets from Ensight Reader.<br>
> Is there another way of dealing with this then ?<br>
> Jacques<br>
><br>
> 2008/11/13 Berk Geveci <<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>><br>
>><br>
>> Are the inputs multi-block datasets by any chance?<br>
>><br>
>><br>
>> -berk<br>
>><br>
>> On Thu, Nov 13, 2008 at 6:03 AM, Jacques Papper<br>
>> <<a href="mailto:jacques.papper@gmail.com">jacques.papper@gmail.com</a>> wrote:<br>
>> > Hi Berk,<br>
>> ><br>
>> > I am trying out your suggestion of merging arrays :<br>
>> ><br>
>> > input0 = self.GetInputDataObject(0,0)<br>
>> > input1 = self.GetInputDataObject(0,1)<br>
>> > output = self.GetOutputDataObject(0)<br>
>> ><br>
>> > output.GetPointData().AddArray(input0.GetPointData().GetArray("pressure1"))<br>
>> ><br>
>> > output.GetPointData().AddArray(input1.GetPointData().GetArray("pressure2"))<br>
>> ><br>
>> > but I get the following error message :<br>
>> ><br>
>> > File "<string>", line 2, in <module><br>
>> > File "<string>", line 4, in RequestData<br>
>> > AttributeError: GetPointData<br>
>> ><br>
>> > I also tried just using the programmable filter on one source and with<br>
>> > the<br>
>> > following code, and I get the same error :<br>
>> ><br>
>> > input0=self.GetInputDataObject(0,0)<br>
>> > input0.GetPointData()<br>
>> ><br>
>> > I am using version 3.4.0<br>
>> ><br>
>> > _______________________________________________<br>
>> > ParaView mailing list<br>
>> > <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
>> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>> ><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br>