James Bartolozzi

jbartolozzi

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

setParmTemplateGroup not updating / working Aug. 30, 2024, 7:19 p.m.

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 Aug. 30, 2024, 4:05 p.m.

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 July 18, 2020, 5:19 p.m.

Having the same problem.