Hi all,
Hello all!
1st post, H16 is where I begin
I am trying to create an object starting with a grid but I want to have the width/height of the grid read from a detail attribute.
In the top node (grid) those attributes don't exist and if I create them later I can't pass them back upstream.
How do I go about this?
Down the line I would like to duplicate that object with varied properties.
Any clues much appreciated!
Cheers,
Pete.
Creating new geo with detail attrs
1846 2 2- pirator
- Member
- 13 posts
- Joined: Nov. 2015
- Offline
- neil_math_comp
- Member
- 1743 posts
- Joined: March 2012
- Offline
You can put a couple expressions in the Size parameter that read from a detail attribute on a different piece of geometry, but it can't read from a detail attribute on geometry that doesn't exist yet. You can reference a “width” detail attribute on some geometry like
You can reference a “width” parameter on some other node like
detail("../other_node","width",0)
You can reference a “width” parameter on some other node like
ch("../other_node/width")
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
- pirator
- Member
- 13 posts
- Joined: Nov. 2015
- Offline
-
- Quick Links