Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.
Search the Community: Showing results for tags 'attribute wrangle'.
Found 3 results
I'm trying to control the extruded distance per primitive of the sphere. I have the values that I want which will drive the extruded distance of each primitive. It's labeled extrudeHeight in the geometry spreadsheet. To do this, I'm using a primitive wrangle where I will store the height values into zscale and then use the local control on the polyextrude node to override the distance using zscale. For some reason this isn't working as @extrudeHeight seems to return 0. I was wondering if someone knew a way to do this. It doesn't have to be through an attribute wrangle I really just want this thing to work. Many thanks in advance for any help!
Sourabh posted a topic in ScriptingHello I want to ask one quick question. How to store all primitive number in array using VEX. I am writing int nearpts = nearpoints(@OpInput1, point(1,"P",0), 20); to store points in array. Now i want to store prim num. I connected grid on 1st input and one centre point on 2nd input to use this one. If you have other way to store points tell me that also. Thank you