Hi,
I want to create a DataObjectGenerator with an unstructered Grid. And when
later I want to modify the grid. My try looks as follows:
# create the DataObjectGenerator
DataObjectGenerator1 = DataObjectGenerator()
DataObjectGenerator1.Program ='UG1'
# read some coord from over objects
...
# to manipulate the grid fetch it
mysource = FindSource("DataObjectGenerator1")
output = servermanger.Fetch(mysource)
# clean old data
output.Initialize()
# create some points and triangle cells
pts = pts.vtkPoints()
...
output.SetPoints(pts)
...
pointIds = vtk.vtkIdList()
...
output.InsertNextCell(5,pointIds)
...
# print the ugrid object
print output
mysource.UpdatePipeline()
Render()
My problem is after i manipulate the ugrid on the client side there, i can't
move it to the server side??? Is there a solution to connect the manipulated
ugrid at server side with my DataObjectGenerator ? I know there are the
programmable source, but i need data from other objects to manipulate the grid
and i want to use my python script as macro.
regards flo
--
NEU: FreePhone - kostenlos mobil telefonieren!
Jetzt informieren: http://www.gmx.net/de/go/freephone
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
_______________________________________________
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