How to stop Rhino from automatically re-embedding textures on every Save

I have a scene with a large number of objects (~10,000 meshes) using texture bitmaps referenced from external files. To reduce file size, I unembedded the textures using the Embedded Files panel (converted them from “Embedded” to “Linked/Reference”).

However, every time I hit Save again afterwards, Rhino silently re-embeds those same textures back into the .3dm file, and the file size balloons back up. It seems like Save always re-checks for linked texture files and embeds them automatically, regardless of the fact that I explicitly set them to linked/referenced beforehand.

Is there a document setting, command, or hidden option to force Rhino to keep textures as linked references permanently, so they don’t get re-embedded on every save? I’d like the file to stay lightweight while I keep working on it, and only embed textures manually (or not at all) when I choose to.

Any pointers to the relevant setting (or confirmation that this is expected/by-design behavior with no workaround) would be appreciated.

Hi @Efim
Go top Options>Rhino Options>Advanced and search for embed - see attached - and check the NeverEmbedFiles.


HTH, Jakob

Work. Thanks )

Title: Rhino 8 save/autosave still slow after disabling texture embedding — compression setting made it worse, not better

Body:

Follow-up to my earlier comparison between Rhino 8 and Rhino 9 WIP save performance on a large, complex scene (100+ layers, nested blocks, mirrored copies, many texture-mapped objects).

Update on textures: I found RendererSupport.NeverEmbedFiles in Advanced Settings and enabled it — this successfully stops textures from being embedded on every save (file size dropped from ~950 MB to ~340 MB). Thank you to whoever pointed me to this, it solved the file-size/embedding issue completely.

However, the slow save time is still unresolved, and testing the compression setting gave a confusing result:

  • With NeverEmbedFiles on and Advanced.UseCompressionWhenSaving at its default (True): file ~340 MB, save time still around 20 seconds.
  • I disabled UseCompressionWhenSaving (set to False) to test whether compression was the CPU bottleneck (disk activity during save stays under 5% on an NVMe Samsung 990 PRO, so it’s clearly not I/O-bound). Result: file grew to ~570 MB as expected, but save time increased to ~30 seconds instead of decreasing.
  • I then reverted UseCompressionWhenSaving back to True (its original/default state). Save time got worse still — around 60 seconds — worse than before I touched the setting at all, on the same file, same session.

So toggling this setting seems to leave the document or session in a worse state than either “pure” configuration, which suggests something isn’t being cleanly reset when the setting changes, or there’s some other accumulating cost (undo history, internal caching, etc.) independent of the setting itself.

Questions:

  1. Is Advanced.UseCompressionWhenSaving expected to affect save time noticeably, or mainly just file size? My test suggests toggling it made things worse in both directions, which doesn’t match a simple “compression costs CPU time” model.
  2. Could toggling this setting mid-session cause a document to end up in a degraded state (e.g., needing a full restart of Rhino, or even a fresh reopen of the file, to reset properly)? I did restart Rhino between tests but not sure if that’s sufficient.
  3. With textures no longer embedded and disk I/O confirmed minimal, what else does Rhino 8’s save routine spend significant CPU time on for a scene like this (100+ layers, many nested/mirrored blocks)? Is there a way to profile or get more visibility into what’s happening during those 20+ seconds?
  4. Does Rhino 9 WIP’s much faster save/autosave (~5 seconds on a comparable file) come from a rewritten serialization path, or is it mostly explained by the same kind of settings (compression, embedding) just defaulting differently?

This is still a real workflow problem — autosave triggers every few minutes on this project, and each freeze (now sometimes worse than when I started troubleshooting) disrupts work. Any insight into what Rhino 8’s save process is actually doing during that CPU-bound window would help a lot, even if it’s just pointing me to the right diagnostic tool or log.

@Efim Start a new thread with an appropriate title and your questions about the effects of compression. Then it is more likely someone from McNeel will read it and respond.

you write. thanks :+1: