I was watching the wrangle-workshop tutorial
I tried to create a custom variable using the addvariablename VEX function in the pointwrangle node. The following works in Houdini 12.5, 13 BUT errors out in Houdini 14 & 15.
f@num = @P.x;
addvariablename(“num”,“NUM”);
Please can some one guide me.
Thanks
Need Help - Custom Variable Mapping -addvariablename notwork
3942 2 1- hsolomon
- Member
- 15 posts
- Joined: 7月 2006
- Offline
- sidenimjay
- Member
- 702 posts
- Joined:
- Offline
- jlait
- スタッフ
- 6413 posts
- Joined: 7月 2005
- Offline
addvariablename() in the CVEX contexts needs which geometry to add to..
addvariablename(geoself(), ‘num’, ‘NUM’);
The point wrangle SOP in 14+ is an attribute wrangle, rather than a wrapper on VOP SOP to make all our contexts consistent.
But, as noted, the need for variable mappings is greatly reduced in H15.
addvariablename(geoself(), ‘num’, ‘NUM’);
The point wrangle SOP in 14+ is an attribute wrangle, rather than a wrapper on VOP SOP to make all our contexts consistent.
But, as noted, the need for variable mappings is greatly reduced in H15.
-
- Quick Links