Is there a RhinoCommon method that accesses the same info as rhinoscript’s GetDocumentData()? Specifically, if data has already been added to a doc using a rhinoscript SetDocumentData() call, where is this data stored in RhinoCommon land, so I can access it?
@sarg, i do not think this is possible. I had to read some old DocumentUserData stored via RhinoScript (vb). The only possible way was to write a RhinoScript (vb) which converted the data written like this
So somehow i needed to get rid of “MySection” which can get problematic is it is different than “MyEntry”. However, when using SetDocumentUserText you can access it in Python using:
rs.GetDocumentUserText(key="MyKey")
and RhinoCommon by accessing the documents string table eg.: