Hi all,
I've created a custom attribute named “WGHT” inside of POPs…it's all good, but now I want to access AND change that variable within a Vex POP…how would I do this? I've tried a lot of different things, but it just won't work…what am I doing wrong here? Any help would be GREATLY appreciated…learning Houdini has definitely been a challege.
Thanks,
fixxorion
Custom Attributes and Vex
4676 3 0- fixxorion
- Member
- 11 posts
- Joined: July 2005
- Offline
- Nordin
- Member
- 19 posts
- Joined: July 2005
- Offline
In your parameter definitions in standard, non-vops vex, create the variable name you want to access and edit, but define it as an export type.
export float WGHT = 0;
You can then access the attribute within your vex pop as normal, and write to it as well.
You can do this in Vops too, the parameter vop has an export ability, as well I believe there's an import attribute vop, but I haven't used it much.
May the force be with you.
export float WGHT = 0;
You can then access the attribute within your vex pop as normal, and write to it as well.
You can do this in Vops too, the parameter vop has an export ability, as well I believe there's an import attribute vop, but I haven't used it much.
May the force be with you.
Nordin
- fixxorion
- Member
- 11 posts
- Joined: July 2005
- Offline
- Nordin
- Member
- 19 posts
- Joined: July 2005
- Offline
-
- Quick Links