How can the parameter be called in wrangler?

   315   3   0
User Avatar
Member
8 posts
Joined: 10月 2023
Offline
I am trying to invoke an attribute called table_dimmin, its y-axis component, I made right before the wrangler node, inside a wrangler node. I have a really hard time trying to understand what I am doing wrong here.
Edited by Subutai - 2024年4月11日 20:55:11

Attachments:
help_2.png (86.2 KB)
help_1.png (166.5 KB)

User Avatar
Member
2042 posts
Joined: 9月 2015
Offline
float diff_x = vector(detail(0,'table_dimmin')).y;

You were treating detail as if it was an HScript function.
User Avatar
Member
4521 posts
Joined: 2月 2012
Offline
As BabaJ said there are a lot of differences between Hscript and VEX. For example detail VEX function can get any type of attribute but for strings you need to use the details Hscript 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 | pragmaticvfx.gumroad.com
User Avatar
Member
8 posts
Joined: 10月 2023
Offline
BabaJ
float diff_x = vector(detail(0,'table_dimmin')).y;

You were treating detail as if it was an HScript function.
Oh I see, thank you!

animatrix_
As BabaJ said there are a lot of differences between Hscript and VEX. For example detail VEX function can get any type of attribute but for strings you need to use the details Hscript expression.
Got it, thanks!
  • Quick Links