Strange bug I’ve encountered, not sure if it’s new or I’ve somehow not came across it previously.
It comes down to the little checkbox “Use detail attribute name” in the Text Field dialog:
If I name a detail, then using this option should generate something like this:
This works on the first layout. On any subsequent layouts with this checked and clicking OK, nothing happens, the dialog closes and no text is added to the text object. Doesn’t matter which formatting I use.
Generating scale based on detail ID works everywhere:
Now if I manually replace the ID with the correct detail name, it works too and the scale is displayed on the layout. It’s just that the “automatic” way refuses to generate the code.
I’ve tried it in safe mode on this rhino file:
named-detail-scale-text-field-bug.3dm (74.9 KB)
On Page 1, everything works, on Pages 2 to 5 it doesn’t.
Interestingly, if I change the order of layouts, it still works only on the layout that was created first (Page 1 in this case), regardless of its current position.
System Info just in case:
Rhino 8 SR5 2024-3-5 (Rhino 8, 8.5.24065.13001, Git hash:master @ cfc026bc6a854ff160d2b4978aef67a7cbfcb5de)
License type: Commercial, build 2024-03-05
License details: Cloud ZooWindows 11 (10.0.22631 SR0.0) or greater (Physical RAM: 32GB)
.NET 7.0.0Computer platform: DESKTOP
Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 3080 (NVidia) Memory: 10GB, Driver date: 1-18-2024 (M-D-Y). OpenGL Ver: (null)
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port 0
- Secondary monitor attached to adapter port 1OpenGL Settings
Safe mode: On
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL (null) (primary GPU’s maximum)Anti-alias mode: 8x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: HighVendor Name: Unknown
Render version: (null)
Shading Language: (null)
Driver Date: 1-18-2024
Driver Version: 31.0.15.5123
Maximum Texture size: n/a
Z-Buffer depth: n/a
Maximum Viewport size: n/a
Total Video Memory: 10 GBRhino plugins that do not ship with Rhino
Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.5.24065.13001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.5.24065.13001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.5.24065.13001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.5.24065.13001