Re: [Pyobjc-dev] VTK bindings
Brought to you by:
ronaldoussoren
From: Carlos P. <ca...@ci...> - 2003-12-06 21:38:14
|
> This is the problem: Use PyObject_CallFunction(vtkRenderPyClass, "O", > Py_None) instead, CallObject expects an argument tuple (hence the > error message you were getting). > > BTW. The code below doesn't seem to use ``rendererAddr``. > > Ronald Thanks you so much. This was in fact the problem. You found both the solution to the problem I had and the one I was about to have. The code now works. I can now wrap the other methods and things should be fine. The correct call was: result = PyObject_CallFunction(vtkRendererPyClass, "s", rendererAddr); Thank you to everyone who helped me throughout this thread. Carlos |