[vtkusers] python: setting object input to None
Charl P. Botha
c.p.botha at its.tudelft.nl
Tue Feb 19 03:46:21 EST 2002
Dear VTKers,
In C++, if I want to "disconnect" a process object from its input, I do
something like: TheProcessObject->SetInput(NULL)
However, when I try this in Python:
TheProcessObject.SetInput(None)
I get the following error message:
"ValueError: method requires a VTK object", which is valid.
So, how should I go about disconnecting a process object from its input?
Regards,
--
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
More information about the vtkusers
mailing list