Vex DopNetwork + chramp

   3162   2   0
User Avatar
Member
101 posts
Joined: Dec. 2012
Offline
Hi,

1) i have a popaxisforce node


float speed = orbitspeed * fit(random(@id*4684687), 0, 1, 0.5, 4);
orbitspeed = speed;
suctionspeed = speed / 2.0;
@test = chramp(“../popaxisforce1/frequency”, 3, 0);


I want to read in the value of a parameter within vex (which works for wrangle sop) but here i am getting an error.

Any suggestion?

User Avatar
Member
8582 posts
Joined: July 2007
Online
I think the problem is not reading the ramp but writing to @temp
many POP DOPs don't have enabled exporting of custom attributes so they simply error out if you do that
you can use POP Wrangle DOP to do that, or modify the POP DOP

in your case would be adding temp or * to popaxisforce1/geometryvop1/if_use_localspeed/snippet1/Bindings To Export parameter

I don't recommend unlocking the assets, maybe an RFE can be made to allow specifying this directly on POP DOP nodes as it's handy to export attributes from them
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
8582 posts
Joined: July 2007
Online
according to
H13 Particles Masterclass
http://www.sidefx.com/index.php?option=com_content&task=view&id=2631&Itemid=132 [sidefx.com]
you can just do

export float @temp = 0;
@temp = chramp(…etc
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links