Write file with embedded textures

Hi all. I’m trying to write a file with embedded textures but can’t find it in the rhino3dm docs. I’m looking for the same functionality as “save textures” checkbox when saving manually.

I create new File3dm(), then add some materials and geometry from another file, and then call file3dm.Write(). It creates a file but no textures.

Hi @archimax,

This is currently not possible, but we are planning changes that should allow it (if I understand correctly). There is a bug filed: