Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8672

Custom User Data

$
0
0

@Matthieu_from_NAVINN wrote:

Hi,
I’ve got a bug with my custom UserData:

_DeckRooms = New List(Of String)({"This", "is", "a", "test"})
_DeckName = "This is a test"
 Dim dict = New Rhino.Collections.ArchivableDictionary(1, "MSPLayerData")
    dict.[Set]("DeckRooms", _DeckRooms)
    dict.[Set]("DeckName", _DeckName)
    archive.WriteDictionary(dict)

While I’m not closing Rhino, it works fine, I can read and write my user data (both my list(of string) and my string variable).
When I close/re-open rhino, my list(of string) Dictionary entries are lost, while my string objects are still there. I’ve got the same issue with every Custom UserData, doesn’t matter where they are stored (One is on the layers, another on the objects…)

I’m using Rhino RC 6.5

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8672

Trending Articles