How can I use $TX2 using @P.x?

   4037   3   2
User Avatar
Member
4 posts
Joined: Dec. 2015
Offline
Hi, guys,

I'm studying houdini using 15 apprentice version.

I want to use x position of 2nd input. How can I use this using @P not $TX ?

I thought @P.x2, @P2.x or @P.x(2) might work but it wasn't.

Is there any way to solve this problem like $TX2 not using point function?

Thank you in advance.
User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
Hi
I'm not sure what kind of node your'e trying to use this on but in an Attribute Wrangle node (or similar) you can use: @opinput0_P.y for input 1 and @opinput1_P.y for input 2 etc.

-b
http://www.racecar.no [www.racecar.no]
User Avatar
Member
1743 posts
Joined: March 2012
Offline
Yong Gyu Park
I thought @P.x2, @P2.x or @P.x(2) might work but it wasn't.
I checked the code for it, and it looked like @P2.x should work, so I tried it out, and it seems to.
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
User Avatar
Member
4 posts
Joined: Dec. 2015
Offline
I really appreciated you guys!!!
  • Quick Links