That did it.  Thanks

On 4/9/10 12:40 PM, "Andy Bauer" <andy.ba...@kitware.com> wrote:

I think what you want is:
pid = servermanager.vtkProcessModule.GetProcessModule().GetPartitionId()

Andy

On Fri, Apr 9, 2010 at 2:34 PM, Fabian, Nathan <ndfa...@sandia.gov> wrote:
Hi,

Is there any way to get the local process id from within a python script?  I
can't seem to get hold of vtkMultiProcessController and can't find any other
way through the modules...

Thanks,
Nathan.


_______________________________________________
Powered by www.kitware.com <http://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

Reply via email to