magneto Posted December 10, 2014 Share Posted December 10, 2014 Hi, If I have an HDA whose subnet looks like this for example: Is there a way to allow a user to insert any node in there? You could have a special placeholder node that has inputs and you would connect the inputs you want to this node so that when the user uses your HDA, he could connect "any" node to non-primary input that will be inserted into that location in the subnet: If I am not wrong the new POP DOPs do this kind of thing? Thanks. Quote Link to comment Share on other sites More sharing options...
ben Posted December 10, 2014 Share Posted December 10, 2014 Create a subnet. In your subnet just create 2 nulls IN and OUT (just gonna be easier to deal with).In the Basic tab of Operator Type Properties make your subnet an editable node. Then you can have a button to call a script in the python module to create and insert whatever node you want. You just need createInputNode() and setInput(). Or in your case, using a connected node you could fire the python module script using On Input Change. get the operator type, then create it, input it. should work. 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.