[Paraview] Problem pasting in the GUI shell

Berk Geveci berk.geveci at kitware.com
Tue Dec 9 11:33:55 EST 2008


Can you file a bug report at http://paraview.org/Bug? Thanks.

2008/12/1 Louis at M-Tech <llg at mtechindustrial.com>:
> Hi
>
>
>
> Should I be able to paste a series of commands into the GUI Python shell and
> then get the interpreter to process those?
>
>
>
> Perhaps its an issue about eol characters?
>
>
>
> In any case, I can paste 1 line but not a series of lines like the
> following:
>
>
>
> import vtk
>
> pts=vtk.vtkPoints()
>
> pts.Initialize()
>
> pts.InsertNextPoint(0,0,0)
>
> pts.InsertNextPoint(1,0,.0)
>
> pts.InsertNextPoint(2,1,0)
>
> pts.InsertNextPoint(3,3,0.)
>
>
>
>
>
> The shell does not process them automatically – whereas the standard Python
> shell outside the GUI does.
>
>
>
> Thanks in advance,
>
> Louis
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>


More information about the ParaView mailing list