James Bartolozzi

jbartolozzi

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

setParmTemplateGroup not updating / working 2024年8月30日19:19

Haha awesome for my test i literally picked the one parm I cant change.
Thanks looks like that works on other parms

setParmTemplateGroup not updating / working 2024年8月30日16:05

I am trying to work on a script to update Parm help text from python and I cant seem to get `parmTemplateGroup` to do anything to the actual type definition. Am I doing something incorrect here?

node = hou.selectedNodes()[0]
node.allowEditingOfContents()

d = node.type().definition()
ptg = d.parmTemplateGroup()

pt = ptg.find("execute")
pt.setHelp("I'm trying to add some help documentation!")
ptg.replace("execute", pt)

d.setParmTemplateGroup(ptg)

print("ptg:", ptg.find("execute").help())
print("d:", d.parmTemplateGroup().find("execute").help())
print("typedef:", node.type().definition().parmTemplateGroup().find("execute").help())
print("node:", node.parmTemplateGroup().find("execute").help())

node.matchCurrentDefinition()

ptg: I'm trying to add some help documentation!
d: 
typedef: 
node:

Export Curves with Color to Cinema4d 2020年7月18日17:19

Having the same problem.