If its an HDA, just save it as an expanded HDA, and edit the files directly. To see the changes in Houdini, use the Refresh Asset Libraries command in the Asset menu. Works better than reloading external python modules.
Using an external editor from within Houdini might as well not be an option at all. I could never get it to work reliably except with something simple like gedit on linux.
raincole It actually works for HDA's Python module script. But it's a weird "special case" and only works for that.
That's some LABs baloney, not part of the Houdini base software.
raincole When I press "Edit text in an external editor", it opens my editor of choice (VScode in my case):
This actually does work for me; it opens notepad and blocks Houdini until it's closed. If a software doesn't block when opened, then Houdini won't know when the file is finished being edited.
It actually works for HDA's Python module script. But it's a weird "special case" and only works for that.
I'm trying to edit the interactive state script for my HDA in an external editor (VS Code). Using "Edit Extra Sections Source Code" does open the file in VSCode, but I don't see the code update in houdini on save?
Is it supposed to update on save?
EDIT:
Looks like it does not update on save. But when I don't have the type properties editor open, then I edit using "Edit Extra Sections Source Code", save my edits, when I reopen the type properties I see the edits!
Im having massive problems with this functionality - every time I save the changes in vscode and then go back to my OTL, it first errors saying'Cannot access the OTL source:' ... then once I hit retry a few times - the node has one of 3 results: inherited changes, no inherited changes, or a complete scenefile crash. Usually one of the latter two.
Any updates or roadmap plans around this? The python dev ecosystem has exploded in elegance and sophistication these last couple of years. Would love to be able to work on Houdini python code in a more modern way.
e.g. the way TouchDesigner lets you sync python code with external file