I've been looking into this more and noticed how Sphere is mapped to the CreateObject function. So I can do what I want with:
s = servermanager.source.Sphere() servermanager.Register(s, registrationName="aDifferentName") This works for me :) 2009/6/8 Paul Edwards <[email protected]> > Hi, > > Is it possible to change the name of an object in the pipeline with a > python script? i.e. if I go to the Python shell and type: > > s = Sphere() > > It will create a new object called "Sphere1". Is there a way to set this > name? > > Thanks, > Paul > > >
_______________________________________________ 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
