supermac Posted February 17, 2011 Share Posted February 17, 2011 hello all, sorry for my english.. tell me if it's not understandable.. I learn python, and i try to code into houdini. now, i can make only easy code, but it's a start.. i don't know how i must use some hou.object.. can you help me please i go into HOM docs, but it's not easy for a beginner like me, there is not simple examples. 1. which symbol i must put for change value of x.translate if i'm into x.translate? I explain me: i created my script. now i want tell: (i'm in "my object translate X" parameter) if "my object translate X" > "my other object translate X": return "my other object translate X" + 1 now, i don't know how i can call parameter "translate X" from my object While i'm in this X parameter.. Do you know what i want say? if i put into "my object/translate X": ch("tx"), i have an error: unknow error when generating backtrace. (/obj/myObject/tx) which word or code i must choose for call "X translate" if i'm in "X translate"? Or i must go into Ytranslate or Ztranslate for evaluate Xtranslate?? 2. where i put hou.vector3 if i want use this? can i use hou.vector3 into my object Xtranslate? i find this in HOM docs, but not where i must place it. thank you very much for your help. Best regard See you Quote Link to comment Share on other sites More sharing options...
Fabiano Berlim Posted February 17, 2011 Share Posted February 17, 2011 Here is an example. I think that can help you for now. hou_parm_example.hip Quote Link to comment Share on other sites More sharing options...
supermac Posted February 17, 2011 Author Share Posted February 17, 2011 hello Fabiano, thank you very much.. i tried all day... and it's .evalParm() very very very thank you... i try with this.. See you Best regard Quote Link to comment Share on other sites More sharing options...
Fabiano Berlim Posted February 17, 2011 Share Posted February 17, 2011 I'm glad that help you. 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.