Unclear about script editor workflows

This question is similar to ParaView Python Script Editor but differs in that several of the editor buttons don’t change anything for me.

In particular I’d love to not be reliant on the copy/paste method for getting code into programmable sources from external files. The issue is that when I click this button nothing happens. Any tips would be greatly appreciated!

I’d also love to hear whether this is the preferred workflow for extensive use of files developed with an external editor, or if there’s another method that makes paraview watch for changes to a selected file or something.

Hi @Devin_Richard_Bayly

I agree that the python editor should still be improved, in any case here is how I use it with Programmable Filters and Sources.

  1. Writing a new script of a prog filter
  • Create Programmable Filter
  • Click on the squere button to open the python editor
  • Python editor pops up, tab is linked
  • Write your code in the python editor, press apply, repeat until it works
  • in the python editor, File → Save as script
  • Close python editor
  1. Using/Modifying a script for the prog filter
  • Create programmable filter
  • Click on the squere button to open the python editor
  • Python editor pops up, tab is linked
  • in the Python Editor, Script → Use as current script → select your script
  • Edit if needed and save as script if needed
  • Close the python editor
  • Press Apply

hth