Hi
I was editing an HDA parameters, but by mistake I edited as spare parameters, when I finish to edit a huge list of parameters I realize my mistake.
There is a way to convert/copy/move my spare parameters to the HDA parameters?
thanks
spare parameters to HDA parameters
1716 2 1- Gerardo Castellanos
- Member
- 45 posts
- Joined: 3月 2016
- Offline
- graham
- Member
- 1908 posts
- Joined: 11月 2006
- Offline
You can do this easily with a bit of Python:
Basically it just says copy the parameters from the node (which will include all spare parameters you accidentally made) and then update the asset definition's parameter list with those thereby converting them to proper parameters on the asset.
>>> node = hou.node("/path/to/your/node") >>> ptg = node.parmTemplateGroup() >>> node.type().definition().setParmTemplateGroup(ptg)
Basically it just says copy the parameters from the node (which will include all spare parameters you accidentally made) and then update the asset definition's parameter list with those thereby converting them to proper parameters on the asset.
Edited by graham - 2022年3月12日 16:10:33
Graham Thompson, Technical Artist @ Rockstar Games
- Gerardo Castellanos
- Member
- 45 posts
- Joined: 3月 2016
- Offline
thanks graham!
I just saw there is an option RMB/copy parameters on the spare list, and RMB/paste it into the HDA list of parameters.
I just saw there is an option RMB/copy parameters on the spare list, and RMB/paste it into the HDA list of parameters.
Gerardo Castellanos
www.gerardocastellanos.com
www.gerardocastellanos.com
-
- Quick Links