Hi Frans,
I like to use rhinoscriptsyntax
for stuff like this. It’s pretty simple to e.g. iterate over all objects in a Rhino layer (using rs.ObjectsByLayer
), and then harvesting their user attribute texts (using rs.GetUserText
), and then shoving this into a Python dictionary as you go along.
A minimal (non-)working example file also helps with debugging