bretik Posted December 21, 2016 Share Posted December 21, 2016 Hi I have dumb question.. But I cant figure it out.. Im quite new in houdini.. Heres the thing Im creating MIDI playing piano I have CHOP_Network, inside i have MIDI_in node... /obj/pno/CHOP_Network/midiin1 I have channels there... and I have channel named con_64 which is for sustain pedale And I have object of pedale ( /obj/PEDALE ) , which i want to rotate in say X by te value of con_64 Im sure its pretty easy.. but... I dont know how... Thanks for any answer... Quote Link to comment Share on other sites More sharing options...
catchyid Posted December 21, 2016 Share Posted December 21, 2016 Hi, I am not sure I understand the question, but just out of curiosity, have you tried right click (on the channel you want to copy) then copy a channel then right click (where you want to paste its value) then choose "paste copied relative reference"...i.e. copying/pasting channel values is just as easy as: copy/paste copied relative reference Quote Link to comment Share on other sites More sharing options...
bretik Posted December 21, 2016 Author Share Posted December 21, 2016 The channel is not promoted.. I dont have to where to click.. I tried ch(/obj/pno/CHOP_Network/midiin1/con_64) but didnt work... I dont know how to handle these in houdini... Quote Link to comment Share on other sites More sharing options...
Sean Lewkiw Posted December 21, 2016 Share Posted December 21, 2016 Hi, you need to use the "chop" expression instead: chop("/obj/pno/CHOP_Network/midiin1/con_64") Here's something that might help you find this in the future. If you open an hscript text port, (Windows -> hscript textport), and then type: exhelp -k chop help -k chop ... you will see all expressions, functions, etc, with the word "chop" in them. Just "help chop" or "exhelp chop" will give you the help for that exact function if it exists, or if it does not exist, for any function that has "chop" in the name. 1 Quote Link to comment Share on other sites More sharing options...
bretik Posted December 21, 2016 Author Share Posted December 21, 2016 Thanks lewkiw.. but No Luck for me... still not get this to work... Quote Link to comment Share on other sites More sharing options...
Atom Posted December 21, 2016 Share Posted December 21, 2016 If typing chop(...) did not work then you need to examine your con_64 channel, it most likely is all zero. Quote Link to comment Share on other sites More sharing options...
bretik Posted December 21, 2016 Author Share Posted December 21, 2016 OK chop(...) working... My mistake. Thank All ! 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.