Sync parameters?

   1024   2   0
User Avatar
Member
337 posts
Joined: June 2013
Offline
One of the things that is a bit of a drag when tinkering with assets (especially in experimental or refactoring phases or updates on naming conventions)is to update the subnet/HDA parameters to reflect necessary changes on parameter interfaces inside the asset.
I have usually a bunch of Wrangles inside with their own parameters that are then imported on the subnet/HDA(copied&linked) , but as the design changes I have to keep deleting these already imported parameters and redo the import. What's the best way to deal with such?

I was wondering if there is already some standard way of:
- Syncing them?
- Script the import (importing automatically creates a ref link) ? Did not find a method in hou, although the pieces for me to do it myself are there with parmTemplateGroup(), etc.

​​​​​​​Thanks
Edited by probiner - Feb. 4, 2020 06:24:49
User Avatar
Member
8526 posts
Joined: July 2007
Online
you can have a look at import blocks if that fits your needs
https://www.sidefx.com/docs/houdini/ref/windows/optype.html#importblocks [www.sidefx.com]
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
337 posts
Joined: June 2013
Offline
Thank you for the reference @tamte, testing.
I did end up writing some python for my immediate needs, but maybe this will be a more streamlined and abstract workflow.

Cheers
Edited by probiner - Feb. 17, 2020 20:46:56
  • Quick Links