The following python code works fine in pv3.4

rep = servermanager.CreateRepresentation(solid, view)
rep.ColorArrayName = 'Temperature'

but gives me an error with the cvs version

   rep.ColorArrayName = 'Temperature'
 File
"/local/apps/ParaView3Build/Utilities/VTKPythonWrapping/paraview/servermanager.py",
line 203, in __setattr__
   setter(self, value)
 File
"/local/apps/ParaView3Build/Utilities/VTKPythonWrapping/paraview/servermanager.py",
line 2308, in setProperty
   return self.SetPropertyWithName(propName, value)
 File
"/local/apps/ParaView3Build/Utilities/VTKPythonWrapping/paraview/servermanager.py",
line 252, in SetPropertyWithName
   prop.SetData(arg)
 File
"/local/apps/ParaView3Build/Utilities/VTKPythonWrapping/paraview/servermanager.py",
line 663, in SetData
   for a in self.Available:
 File
"/local/apps/ParaView3Build/Utilities/VTKPythonWrapping/paraview/servermanager.py",
line 519, in __getattr__
   return getattr(self.SMProperty, name)
AttributeError: Available

I must have missed a change being put in. Does someone have a hint?
TIA

_______________________________________________
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