.3dm + Python + UserData

Hi,

Haven’t been able to find an answer to this particular issue.

I am creating a .3dm file for each group of objects in a particular scene through a Python script.

   f = Rhino.FileIO.File3dm()
   fwo = Rhino.FileIO.File3dmWriteOptions()
   f.Objects.Add..
   f.Polish()
   f.Write(path, fwo)

What I can’t seem to find is a way to add in UserData in this way… The File3dm object doesn’t seem to have any members for custom data, just Notes.

Is there another similar way that I could embed custom data within a .3dm file?

The reason for all of this is to store the file path to the parent Rhino file, a transform between the group of objects and their place in the parent file, other variables that are specific to that cluster, etc.

Thanks!