[H20] Language selection menu for expressions

   664   3   1
User Avatar
Member
209 posts
Joined: Jan. 2013
Offline
Hi,

In H20.0, the expression language selection menu is no longer available for the entire node. Is it now only possible to change for each parameter?

Attachments:
Screenshot_2024-01-05_19-36-48.png (37.2 KB)

User Avatar
Member
7794 posts
Joined: Sept. 2011
Online
I didn't know that was removed in H20 until you mentioned it. I can't find an alternative method to set the node language, maybe there's a vestigial hom method still present. I found that node language toggle to be buggy and preferred using the language flag on the actual channel. I wonder if you can still toggle the expression language globally in the preferences.
User Avatar
Member
101 posts
Joined: Dec. 2019
Offline
Don't know the reason why this menu was removed (couldn't find any info on the changelog), but there's a HOM function to do so :
hou.OpNode.setExpressionLanguage() [www.sidefx.com]

My workaround for this is to add script items to the parm gear menu Customize menus [www.sidefx.com]

Attachments:
set_node_expr_language.png (39.9 KB)
ParmGearMenu.xml (626 bytes)

Houdini Pipeline Supervisor @ TAT Studio
User Avatar
Member
8582 posts
Joined: July 2007
Offline
I haven't used that menu ever since the Alt+E editor introduced a reliable way to set Python expressions

What benefits did that menu have that would be still useful?
Edited by tamte - Jan. 6, 2024 10:33:10
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links