algorithmic modeling for Rhino
I had the same expectation as Andrew, thinking that Item.Index would return the indices for a matching value within a data tree. And for some reason I couldn't get the VB script to return more than the first instance of the item.
So for anyone who wants this function in the mean time, here's a cluster I put together. It gives all data tree indices for a searched item.
And, the reason I wanted this was for a search and replace through a data tree. So here's that also.
(Sorry it doesn't work for strings, just numbers and booleans as far as I know.)
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by