How to use attribute in expression?

   2534   2   0
User Avatar
Member
42 posts
Joined: 4月 2018
Offline
Hi all, another noob question here but I swear I've tried everything with this and looked everywhere for the answer. I have a attribute called ‘red’ that comes from a vertex colour red channel, then I manipulate to get a value that I want to use as an extrude multiplier (eventually). The question is how do I access it in an expression (for instance in the ‘extrude distance’ field)? I tried just typing ‘red’, ‘@red’, and just about everything I can think of. The value seems to be there in the spreadsheet, I just don't know how to get to it!

Any help greatly appreciated!!

cheers - Aten

Attachments:
Capture.JPG (100.1 KB)

User Avatar
Member
459 posts
Joined: 10月 2011
Offline
Hi
Promote your vertex attribute to Primitive if you want to use it for extrude values in Poly Extrude. Set Divide Into to Individual Elements and set Distance Scale to your custom attribute. Then use Distance as a multiplier :


-b
Edited by bonsak - 2019年3月22日 19:27:33
http://www.racecar.no [www.racecar.no]
User Avatar
Member
42 posts
Joined: 4月 2018
Offline
Dude you are a star! Thanks so much for the quick reply, it works perfect
  • Quick Links