Symbolic Posted May 1, 2009 Share Posted May 1, 2009 Hi, I am sure this is really simple. It is just too early in the mourning for me I guess How can I list the names of the nodes being wired into a target node? Like for example the names of the 7 nodes going into a merge node? Thanks. Quote Link to comment Share on other sites More sharing options...
mic Posted May 1, 2009 Share Posted May 1, 2009 Hi,I am sure this is really simple. It is just too early in the mourning for me I guess How can I list the names of the nodes being wired into a target node? Like for example the names of the 7 nodes going into a merge node? Thanks. >>> a = hou.node("/obj/geo3/merge1") >>> a <hou.SopNode of type merge at /obj/geo3/merge1> >>> print [i.name() for i in a.inputs()] ['file1', 'file2', 'file3', 'file4'] )) Quote Link to comment Share on other sites More sharing options...
Symbolic Posted May 1, 2009 Author Share Posted May 1, 2009 Thanks mic! 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.