RhinoObject.UserDictionary not available in V8

Hi @dale,

in Rhino 7 i was able to store things in a rhino object’s UserDictionary and if i accessed it, i got an ArchivableDictionary. Trying below gives None using Rhino 8:

import Rhino
import rhinoscriptsyntax as rs

def DoSomething():
    
    brep_id = rs.GetObject("Brep", 16, True, False)
    if not brep_id: return
    
    rh_obj = rs.coercerhinoobject(brep_id, True, True)
    
    print rh_obj.UserDictionary

DoSomething()

this broke a lot of my scripts. Is this a bug ?

_
c.

you may find this thread related. I am not sure rhino objects are meant to have user data.
https://discourse.mcneel.com/t/userdata-regression-in-rhino-8/

Thank you @david.birch.uk. I guess i need to a lot now…

_
c.