<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>It looks like you can just give the AppendAttributes filter a list of inputs:</div><div><br></div><div><div>==================================</div><div></div><div>from paraview import servermanager </div><div>servermanager.Connect()</div><div><br></div><div>sph1 = servermanager.sources.SphereSource() </div><div>elev = servermanager.filters.ElevationFilter(Input=sph1) </div><div><br></div><div>sph2 = servermanager.sources.SphereSource() </div><div>ids = servermanager.filters.GenerateIdScalars(Input=sph2)</div><div><br></div><div>app = servermanager.filters.AppendAttributes()</div><div>app.Input = [elev,ids]</div><div><br></div><div>view = servermanager.CreateRenderView() </div><div>rep = servermanager.CreateRepresentation(app, view) </div><div><br></div><div>rep.ColorAttributeType = 0 # point data </div><div>rep.ColorArrayName = 'Ids' # color by Ids </div><div><br></div><div>view.ResetCamera()</div><div>view.StillRender() </div><div>==================================</div><div><br></div><div>-Eric</div><div><br></div><div><div>------------------------------------------------------</div><div>Eric E Monson</div><div>Duke Visualization Technology Group</div><div><br></div><div><br></div></div><div><div>On Mar 25, 2009, at 8:19 AM, tpk wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font: inherit;">Hi all,<br> <br> Could anyone advise me how to create an Append Attributes filter using pvpython?<br> <br> Paraview documentation refers to Group Parts filter which, I believe, is obsolete in version 3.4.0.<br> <br>My purpose is to merge multiple scalar/vector data sets sharing the same geometry. The data sets are loaded using PVDReader.<br><br>Thanks,<br>tpk<br></td></tr></tbody></table><br> _______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br></blockquote></div><br></div></body></html>