In C#, I can set data using RhinoDoc.Strings.SetString( StringName, StringValue );
which can then be retrieved in a python script using
strValue = rs.GetDocumentUserText( StringName )
Now my questions are:
- is this also possible with other data than strings (now I convert in C# StringValue.ToString() and in Python with float(strValue)
- is it possible to pass many of these strings in a structured way? Python suggests to work in sections : value = rs.GetDocumentData(“MySection1”, “MyEntry1”) but how to add these sections in C#? In C# on the other hand, something like UserDictionary seems to exist, but how (if at all) can I address them from Python?
Thanks in advance for your leads.