We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
List
Sequence
Sets
Text
Tree

Create Set

Creates the valid set from a list of items (a valid set only contains distinct elements).

Inputs

NameIDDescriptionType
ListLList of data.Generic Data

Outputs

NameIDDescriptionType
SetSA set of all the distincts values in LGeneric Data
MapMAn index map from original indices to set indicesInteger

Site design © Robin Rodricks.   Grasshopper Sets and associated data © 2024 Robert McNeel & Associates.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service