Get doc.strings

Hi,

I’m able to SetDocumentUserText by RhinoDoc.ActiveDoc.Strings.SetString(“Key”, “Value”)
But how am I supposed to get that information?

I’ve tried:

  • doc.Strings.GetSectionNames but that returns nothing.
  • doc.strings.count return the total Strings I Set so that works

Do I need to:

Dim Value as List(of string)
Dim Key as List(of string)

For I = 0 to doc.strings.count
Value.add(doc.Strings.GetValue(I))
Key.add(doc.Strings.GetKey(l))
Next  

?

Or is there an easier way?

That seems to be the only way.

Oke thanks. Then I’ll be doing that :stuck_out_tongue: