fixxorion
June 20, 2003 19:09:13
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
Nordin
June 20, 2003 19:53:16
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.
fixxorion
June 20, 2003 20:44:30
“You are the ONE”
Thank you thank you thank you!
You saved my life!

Later,
fixxorion
Nordin
June 21, 2003 10:26:19
LOL!
No problem, glad to help.
There is no spoon..