Using attribute to drive parameters

   1972   2   0
User Avatar
Member
3 posts
Joined: April 2022
Offline
Got a simple setup here, just 3 lines that I each run through an attribute wrangle to assign @width a value, than I merge them and wanna use the width attribute to drive the width from the sweep node which is set on ribbon. I know I could make 3 different sweeps but I wanna eventually turn this into an HDA which could have as many inputs as needed.
I tried just writing the @width in the parameter, tried reference (local attribute and scene data).
Didn't manage to find any solutions online, maybe this is just not the way you would suppose to do it, I would appreciate if someone would give me a pointer in the right direction.

Thanks in advance!
Andrew. H.

Attachments:
image_2022-04-17_115508463.png (232.2 KB)

User Avatar
Member
460 posts
Joined: Feb. 2012
Online
its
@pscale
not width
User Avatar
Member
18 posts
Joined: Sept. 2013
Offline
Hi, just stumbled on this as well. Old thread but can be good to write anyways.

Just make sure that the attribute "pscale" exists on the points of the incoming curve. You do not need to enter anything in the width parameter of the sweep node. I guess pscale works as a multiplier of the width parm value.
  • Quick Links