Jump to content

Adding script button to existing node type

Recommended Posts

I am trying to create a variant on the Object Merge node that lets me add whatever is currently selected to the object merge objpaths parameters, but I'm really struggling with it. I'm pretty new at HDAs so I'm not sure how to do this. I tried just adding a button to an Object Merge node, but I can't figure out how to actually add any real amount of code to the button. There's the callback, of course, but I don't know how to actually define the code the callback calls. What I want to do can't be done as a one-liner. If I modify the type parameters, the object merge node just seems to... break.

So then I tried to create a new HDA with the object merge in a subnet, but the script isn't allowed to modify the contents of the object merge node, so that was another dead end.


Can anyone give me some pointers with how to get this working? I need to merge and build a new object hierarchy on a CAD import with literally tens of thousands of objects. :-( 

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...