Hi
I have an attribute wrangle set to point.
I'm trying to figure out how to get the name of the node connected at @OpInput2.
I tried gettattribute like this:
s@theName;
getattribute(@OpInput2, @theName, “detail”, “name”, 0);
But it doesn't work. What am i doing wrong?
-b
Attribute Wrangle: Get node name from @OpInput2?
5737 4 0- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
- animatrix_
- Member
- 4515 posts
- Joined: Feb. 2012
- Online
Create a string parameter and use the opname(opinputpath(“.”, 1)) expression.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
- jlait
- Staff
- 6205 posts
- Joined: July 2005
- Offline
- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
-
- Quick Links