Layers Keep Getting Resorted

I have been using the beta of Rhino 9 and most things work great. But I have a problem with the layers being resorted after I restart Rhino. I will get them in the order I like, but if I close Rhino and re-open it, they get sorted alphabetically. I don’t know if this is a bug or am I missing something.

Hi @Christopher10,

Layer order in the Layers panel is saved in the .3dm file, so the order you set should still be there after you save, close, and reopen.

Can you tell me a bit more?

  1. What kind of file are you opening? Is it a .3dm, or a .dwg or .dxf? When Rhino imports a DWG or DXF, it sorts the layers alphabetically.
  2. Do you save the file before closing Rhino? When you close after reordering layers, does Rhino ask if you want to save?
  3. Do you have any third-party plug-ins installed? Please run the SystemInfo command and paste the results here. It shows your Rhino build, operating system, and loaded plug-ins.

We’ve never had a report of this behavior, with any version of Rhino. If you can share a small file that does this, I’ll take a look.

– Dale

When you open a new session of Rhino the Default Template file determines the layer structure.

You can set the Default Template by going to Options>Files.
The file that you make the default Template should contain the layers, units, tolerance,annotation styles, mesh settings, grid and and any other Document Properties that you want to see when you open a fresh new Rhino Document.

OK, new information, I was wrong, it does save and re-open correctly. It’s when I start with a fresh clean template, then as soon as I import (drag-n-drop) a dwg file, then it re-orders itself. Attached my template file for reference.

  1. I am opening a native v9 .3DM file. This is the layer order when I initially start Rhino, based off a template I have created.
  2. I usually save before I close Rhino, and it does ask me to save before closing.
  3. As far as I know, I don’t use any third-party plug-ins.

SystemInfo:

1 Viewports.3dm (41.0 KB)

Rhino 9 SR0 2026-9-29 (Rhino 9 BETA, 9.0.26272.12303, Git hash:master @ b5f5102690615c89acabfc68e24eae200f3d735b)
License type: Commercial, build 2026-09-29
License details: Cloud Zoo
Expires on: 2026-11-13

Windows 11 (10.0.26300 SR0.0) or greater (Physical RAM: 64GB)
.NET 10.0.2

Computer platform: LAPTOP  - Plugged in [100% battery remaining]

Non-hybrid graphics configuration using DirectX
Primary display: NVIDIA RTX A3000 Laptop GPU (NVidia) Memory: 6GB, Driver date: 5-10-2026 (M-D-Y). DirectX(11)
> Integrated accelerated graphics device with 4 adapter port(s)
- Windows Main Display is laptop's integrated screen or built-in port

Secondary graphics devices.
Intel(R) UHD Graphics (Intel) Memory: 2GB, Driver date: 3-3-2026 (M-D-Y).
> Integrated graphics device with 4 adapter port(s)
- Secondary monitor is laptop's integrated screen or built-in port

DirectX Settings
Safe mode: Off

OpenBLAS: OpenBLAS 0.3.30 DYNAMIC_ARCH NO_AFFINITY SkylakeX MAX_THREADS=64.

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 9 WIP\Plug-ins\Commands.rhp	"Commands"	9.0.26272.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk.rhp	"Renderer Development Kit"	
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoScript.rhp	"RhinoScript"	
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoAI\net8.0\RhinoAI.rhp	"RhinoAI"	9.0.26272.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\3dxRhino.9.rhp	"3DxRhino.9"	
C:\Program Files\Rhino 9 WIP\Plug-ins\UpdatesAndStatistics\UpdatesAndStatistics.rhp	"UpdatesAndStatistics"	9.0.26272.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoRenderCycles.rhp	"Rhino Render"	9.0.26272.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	9.0.26272.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\import_ACAD.rhp	"AutoCAD file import: import_ACAD"	
C:\Program Files\Rhino 9 WIP\Plug-ins\NamedSnapshots.rhp	"Snapshots"	
C:\Program Files\Rhino 9 WIP\Plug-ins\MeshCommands.rhp	"MeshCommands"	9.0.26272.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoCycles.rhp	"RhinoCycles"	9.0.26272.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\Displacement.rhp	"Displacement"	
C:\Program Files\Rhino 9 WIP\Plug-ins\SectionTools.rhp	"SectionTools"

Here are my import settings:

SampleAfterImport.3dm (53.1 KB)

SampleImport.dwg (28.6 KB)

Let me know if you need any further information.

Thanks for the details @Christopher10 - I’ve created a ticket.

– Dale

Thank You.