garf Posted August 14, 2018 Share Posted August 14, 2018 Heya, I want to expose/add this property to my geometry node via python. Anyone know what's needed to do this? Just simply setting it's value (i.e. "1") via python doesn't work unless it is exposed. Quote Link to comment Share on other sites More sharing options...
garf Posted August 14, 2018 Author Share Posted August 14, 2018 OK - I've got it thanks. import hou sel = hou.selectedNodes() for s in sel: group = s.parmTemplateGroup() folder = hou.FolderParmTemplate("folder", "myFolder") folder.addParmTemplate(hou.ToggleParmTemplate("vm_volumenormal", "Compute Normals for Volumes", 1)) group.append(folder) s.setParmTemplateGroup(group) 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.