HELP ! about custom attribute in VEX code

   3371   2   0
User Avatar
Member
21 posts
Joined:
Offline
create custom attribute in SOP, import it in VEX,but I want modfy the attribute in VEX loop and send it to next SOP flow.
Example:
1 SOP: attribCreate : aa (float) default 1.0
2 VEX: import attribute aa,
3: modfy aa in VEX loop. like aa*10=10.0
4: create point node below the VEX node., in this time I can get $Aa=10.0
User Avatar
Member
21 posts
Joined:
Offline
anybody help me ?
User Avatar
Member
17 posts
Joined: July 2007
Offline
use:
addvariablename(“aa”, “AA”);

this Adds the mapping of the attribute aname to the local variable vname,
  • Quick Links