For example, if you write the following in the Script of Programmable Source, it seems to work well.
from vtkmodules.vtkFiltersSources import vtkArrowSource
arrow2 = vtkArrowSource()
arrow2.Update()
output.DeepCopy(arrow2.GetOutput())
For example, if you write the following in the Script of Programmable Source, it seems to work well.
from vtkmodules.vtkFiltersSources import vtkArrowSource
arrow2 = vtkArrowSource()
arrow2.Update()
output.DeepCopy(arrow2.GetOutput())