AME Posted March 25, 2015 Share Posted March 25, 2015 Hi everyone Is there a way to reference one array in several different wrangle nodes ? I have an array containing a list of voxel indices constructed in one wrangle node but I need to use it in other places as well and would prefer not to construct it several times. So is it possible to define some sort of global array from a vex node and reference it in different places ? any help is much appreciated Quote Link to comment Share on other sites More sharing options...
edward Posted March 25, 2015 Share Posted March 25, 2015 What mode is your wrangle node in? Offhand, I'd say store it into an array geometry attribute. Quote Link to comment Share on other sites More sharing options...
AME Posted March 25, 2015 Author Share Posted March 25, 2015 Hi Edward, thanks a lot, but I'm not quite sure what you mean by mode. I create the list in an attribwrangle running over the detail attribute. I managed to set a detail attribute with the list as a string which seems to work ok but then I would need to "un-string" it again and I'm not sure how to do that. When you say array geometry attribute , does that mean you can store the array without creating a string first ? Or alternatively how do you convert the string back to the original array ? Quote Link to comment Share on other sites More sharing options...
edward Posted March 25, 2015 Share Posted March 25, 2015 That's what I meant by mode. So you can just create a detail attribute that's of some array type then right? I don't you need to convert to a string? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.