[vtkusers] Surface contours from points

Yu-Xi Lim vtk at limyuxi.org
Thu Sep 29 18:17:10 EDT 2005


Nicolau Werneck wrote:
> I don't know my vtk version.  It looks like it's 4.4.2, since these
> numbers are in the library files, and this number is also on the
> package description, but it would be nice if a vtk command would tell
> me the version so I can be sure.  python version is
> 2.3.5
> 
> The error message, for your pleasure is:
> 
> 
> nwerneck at debian:~$ python DelMesh.py
> Traceback (most recent call last):
>   File "DelMesh.py", line 25, in ?
>     mapMesh.SetInputConnection(delny.GetOutputPort())
> AttributeError: SetInputConnection

Try .SetInput and .GetOutput instead of .SetInputConnection and
.GetOutputPort respectively.




More information about the vtkusers mailing list