Hey Guys,
I wanted to share here with you a small script I've done to have a support of external editors to edit your expressions and code with live updates.
It works with a system or file watcher, that means it doesn't freeze Houdini and you don't need to close your editor to see you updates It's available by a simple right-click on a parameter => expression => External Expression Editor ( you can set a hotkey ).
It works with VEX and Python expressions but also regular HScript expressions ( but with no completion ). It works very well with Visual Studio Code as it has a nice VEX and Python plugins, but it could work with sublime text, notepad ++ etc.
( I haven't tested all the IDE out there so if you find a bug with one of them, feel free to send an email to contact@cgtoolbox.com ).
A small video about it:
https://vimeo.com/242470411 [vimeo.com]
You can download it for free here:
http://cgtoolbox.com/houdini-expression-editor/ [cgtoolbox.com]
PySide, PySide2 and PyQt are supported, it is compatible with Houdini 15 to 16.5.
Houdini Expression Editor
9683 9 4- anon_user_92751170
- Member
- 17 posts
- Joined: 5月 2010
- Offline
- galagast
- Member
- 252 posts
- Joined:
- Offline
- harryabreu
- Member
- 76 posts
- Joined: 7月 2006
- Offline
- anon_user_92751170
- Member
- 17 posts
- Joined: 5月 2010
- Offline
- galagast
- Member
- 252 posts
- Joined:
- Offline
- caleb
- Member
- 30 posts
- Joined: 7月 2005
- Offline
- iclosed
- Member
- 1 posts
- Joined: 1月 2019
- Offline
- raincole
- Member
- 539 posts
- Joined: 8月 2019
- Offline
It works for Vex and single-line Python, but for some reason, not for multi-line Python expressions
Every time I try to edit multi-line Python expression in VScode with this plugin, it just makes the whole expression "" (empty Python string).
Edit: I'm diving in SideFX Labs' code trying to find the bug. Will submit a pull request if I manage to fix it.
Every time I try to edit multi-line Python expression in VScode with this plugin, it just makes the whole expression "" (empty Python string).
Edit: I'm diving in SideFX Labs' code trying to find the bug. Will submit a pull request if I manage to fix it.
Edited by raincole - 2022年1月16日 16:54:41
- raincole
- Member
- 539 posts
- Joined: 8月 2019
- Offline
I fixed that! If you want to edit Python expressions in an external editor, try this: https://github.com/sideeffects/SideFXLabs/pull/46 [github.com]
- netlander
- Member
- 32 posts
- Joined: 9月 2017
- Offline
-
- Quick Links