An_pi Posted October 3, 2019 Share Posted October 3, 2019 Hi. After we install a HDA like this hou.hda.installFile('hda_path.hda') how is it possible to get the hda's operator name, so we can "create" it? The installFile function does not return anything... hou.node("/obj").createNode("???") Quote Link to comment Share on other sites More sharing options...
LucaScheller Posted October 4, 2019 Share Posted October 4, 2019 (edited) The name is the one you set when you create the .hda: The recommended syntax is NameSpace::HdaName::Version, see the docs for more info https://www.sidefx.com/docs/houdini/assets/namespaces.html You can also get the .hda's name via the node.type().name() function. For example: hou.node("/obj/geo/custom_hda/").type().name() For the measure node it returns: 'measure::2.0' To create a specific version of a node you can then type: hou.node("/obj/geo/").createNode("NameSpace::HdaName::1.1") Edited October 4, 2019 by LucaScheller 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.