Hi All,
I have a list of names which are not unique and that I would like to append indices to for those that are not:
Make Names Unique.gh (12.2 KB)
I’m tired and my brain’s mush getting lost in Create Set and Member Index. If someone could help me out that’d be great.
Nick_Leung
(Nick Leung)
2
Thanks. I solved it pretty much the moment you replied. I’ll post my solution. It doesn’t require Pufferfish, though neither does yours really.
Make Names Unique VR 01.gh (20.6 KB)
Nick_Leung
(Nick Leung)
4
Oops, I didn’t actually do what you were looking for. You can have this alternate version too 
Make Names Unique_NL.gh (11.4 KB)
Neither of your solutions, or mine for that matter, hold up to a tree of data:
Not quite. I would be looking for uniqueness within each branch. 
Nick_Leung
(Nick Leung)
8

Sorry. I’ve just become careful about implementing seemingly working snippets in larger contexts where I would assume regular tree function.
Nick_Leung
(Nick Leung)
10
Understandable.
And before you come at me with more complex tree structure. You can have this too 
Make Names Unique_NL_Complex_Tree.gh (12.1 KB)