Jump to content

Channel Reference?


bretik

Recommended Posts

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... 

 

Untitled-1.jpg

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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.  

  • Like 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...