I would like to ask how can I add attributes to geometry objects in rhino C++ SDK?
For example is it possible to have a curve that stores a list of string besides curve it self i.e. “ID0”, “Cut5”, “Cut7”?
Is there any documentation how can I attach additional attributes?
Is it only restricted to string data or can it also be additional geometry?
Or you will need to use ON_UserData. Create a subclass for your user data and override Read and Write functions to load and save your user data to ON_BinaryArchive when the object that the user data is attached to is loaded or saved in 3dm file.