Reference Attribute in Channel
2732 4 0- tadian
- Member
- 90 posts
- Joined: March 2013
- Offline
- BabaJ
- Member
- 2036 posts
- Joined: Sept. 2015
- Offline
- tadian
- Member
- 90 posts
- Joined: March 2013
- Offline
Hey thanks so much for the response. I have a rather large scene that I need this in…So I tried to create a simple example file. I created a copies attribute to equal the numprim. Maybe a little redundancy here but its nice to see it in the geo spreadsheet. Anyway, It would be awesome to have this copies attribute drive the Total Number channel in the copy transform node. So as the sphere's resolution increases so does the number of copies. Anyway, I hope that makes sense and keep me posted if you know how something like this might be achieved.
Edited by tadian - June 2, 2018 01:56:35
- BabaJ
- Member
- 2036 posts
- Joined: Sept. 2015
- Offline
Here you go.
Changed your wrangle to detail mode to make the attribute ( no need to have memory taken up - unless of course you want to reference the amount on a per point basis later in some operation? - then I will have to change the python in your copy node)
The copy node is swtiched to using python - pretty sure there is an hscript equivalent that is less verbose than the expression I have but, I've just never dug into hscript much.
Changed your wrangle to detail mode to make the attribute ( no need to have memory taken up - unless of course you want to reference the amount on a per point basis later in some operation? - then I will have to change the python in your copy node)
The copy node is swtiched to using python - pretty sure there is an hscript equivalent that is less verbose than the expression I have but, I've just never dug into hscript much.
- tadian
- Member
- 90 posts
- Joined: March 2013
- Offline
-
- Quick Links