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

HashSet value in UserDictionary gets automatically converted into Guid[] on save/re-opening document

$
0
0

@jeffoulet wrote:

Hi,

I’m storing some Guids into Brep’s UserDictionary in form of a HashSet<Guid> value.

When I retrieve the UserDictionary right after having attached the Guids, the key value type is correct (HashSet<Guid>):

If I close and re-open the file and then retrieve the key, it appears to now an array Guid[]:

It is not a big issue as I still can store things into arrays, just wondering if it’s a normal behaviour…

Thanks!

System info:

Rhino 6 SR21 2019-11-25 (Rhino 6, 6.21.19329.23181, Git hash:master @ 71f4fdefc5a61567c57095484bdbf4af5244ed65)
License type: Commercial, build 2019-11-25
License details: LAN Zoo Network Node

Windows 10.0 SR0.0 or greater (Physical RAM: 32Gb)
Machine name: 

Non-hybrid graphics.
Primary display and OpenGL: NVIDIA Quadro P2000 (NVidia) Memory: 5GB, Driver date: 7-24-2019 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 431.70

OpenGL Settings
  Safe mode: Off
  Use accelerated hardware modes: On
  Redraw scene when viewports are exposed: On
  
  Anti-alias mode: 8x
  Mip Map Filtering: Linear
  Anisotropic Filtering Mode: Height
  
  Vendor Name: NVIDIA Corporation
  Render version: 4.6
  Shading Language: 4.60 NVIDIA
  Driver Date: 7-24-2019
  Driver Version: 26.21.14.3170
  Maximum Texture size: 32768 x 32768
  Z-Buffer depth: 24 bits
  Maximum Viewport size: 32768 x 32768
  Total Video Memory: 5 GB

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8713

Latest Images

Trending Articles



Latest Images