I used the the following snippet to generate data on the client side but ended up with errors:<br><br>Code:<br>sm = servermanager<br>f = open('trivialproducer.xml', 'r')<br>parser = sm.vtkSMXMLParser()<br>parser.Parse(f.read())<br>
parser.ProcessConfiguration(sm.vtkSMObject.GetProxyManager())<br># Update the modules<br>sm._updateModules()<br><br>tp = sm.sources.TrivialProducer()<br>obj = tp.GetClientSideObject()<br>obj.SetOutput(pd)<br><br># use tp as any other source proxy<br>
<br><br>trivialproducer.xml:<br><br><ServerManagerConfiguration><br><ProxyGroup name="sources"><br><br><SourceProxy name="TrivialProducer"<br>class="vtkPVTrivialProducer"><br>
</SourceProxy><br></ProxyGroup><br><br><br>Errors:<br>ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkProcessModule.cxx, line 1001<br>vtkProcessModule (0x807b790): Cannot create object of type "vtkPVTrivialProducer".<br>
while processing<br>Message 0 = New<br> Argument 0 = string_value {vtkPVTrivialProducer}<br> Argument 1 = id_value {40}<br><br><br>ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkProcessModule.cxx, line 1002<br>
vtkProcessModule (0x807b790): Aborting execution for debugging purposes.<br><br>Abort<br><br>