Hi everyone,
I am adding a rendering parm to a ROP using:
ptg = node.parmTemplateGroup()
tpt = hou.ToggleParmTemplate(“vm_dicingquality”, “Enable Dicing”, default_value=True)
tpt.setJoinWithNext(True)
target_folder = (“Rendering”, “Dicing”)
ptg.appendToFolder(target_folder, tpt)
node.setParmTemplateGroup(ptg)
or
myParms = hou.ToggleParmTemplate(“vm_dicingquality”, “Enable Dicing”, 1)
node.addSpareParmTuple(myParms ,('Rendering', ‘Dicing’))
This adds the parm but, some of my settings on Image Planes are reverted to default.
For example Light Exports are set back to “No Light Exports” also if I have Override Camera Resolution checked, then Resolution Scale is also set to 1/10…
Any idea what might be happening?
Thanks,
ak
Adding spare parms is resetting other parms ??
4220 1 1- Amit Khanna
- Member
- 14 posts
- Joined: Oct. 2015
- Offline
- tas3d
- Member
- 120 posts
- Joined: Jan. 2012
- Offline
same here, can anyone give us a clue what is going on and how to avoid this or do it properly ?
Thanks
Thanks
Michal Tas Maciejewski @ www.vfxtricks.com
-
- Quick Links