katosa Posted September 25, 2020 Share Posted September 25, 2020 (edited) Hello I have started houdini recently. And I am wondering why OnCreated.py does not answer anything when I create a node like "sphere". And I am taking a week to search the solution. I put pictures of my projects below. First I did project set. And in scripts folder in this project, I put OnCreated.py. I wrote only "print ('testprint')" in it. And at last I made sphere node. But nothing written in python shell. I would appreciate any comments or advices. thank you very much for reading. Edited September 25, 2020 by katosa Quote Link to comment Share on other sites More sharing options...
animatrix Posted September 25, 2020 Share Posted September 25, 2020 Hi Katosaori-san, You have to put OnCreated.py under your Houdini user folder: C:\Users\username\Documents\houdini18.0\scripts Something like: print kwargs["node"] 1 Quote Link to comment Share on other sites More sharing options...
katosa Posted September 26, 2020 Author Share Posted September 26, 2020 thank you animatrix. It succeed. 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.