Papercut - Deleted text in panle reappears upon pressing field button

G’day McNeel,

Just a small annoyance when copying existing text items to be modified.

  1. Create a text item.
  2. Delete the text from the panel. (highlighted yellow)
  3. Click the field button. (circled in red)
  4. The deleted text reappears.

Before deletion

After pressing fx button and assigning new text field.

If you test it you will see the deleted text actually reappears upon button press.


Hey Nick -

I admit that I’ve been annoyed with that myself. In a quick test trying to force the issue with your steps (*), this seems to behaving as expected here. Which version are you running at the moment?

(*) There’s some fuzziness between steps 3 and 4. Just to be verbose about my steps: When I press the text field button (step 3), the Text dialog box disappears and the Text Field dialog appears. I then click the Select Object button to get the area of a curve. All dialog boxes disappear and I select a curve. The Text Field dialog box reappears and I click the OK button. At that point, I’m back in the Text dialog and there’s only one string in the text box.

Thanks for looking at this @wim.

I might try to roll my own script for copying and modifying the text fields guid reference.

Rhino 7 SR5 2021-4-10 (Rhino 7, 7.5.21100.03001, Git hash:master @ 2cd158094b595f6400479d7cbe511454b6149527)
License type: Commercial, build 2021-04-10
License details: LAN Zoo Network Node

Windows 10.0.19042 SR0.0 or greater (Physical RAM: 12Gb)

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA Quadro K2200 (NVidia) Memory: 4GB, Driver date: 12-31-2020 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 461.09
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port #0
- Secondary monitor attached to adapter port #1

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 12-31-2020
Driver Version:
Maximum Texture size: 16384 x 16384
Z-Buffer depth: 24 bits
Maximum Viewport size: 16384 x 16384
Total Video Memory: 4 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.5.21100.3001
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RhinoScript.rhp “RhinoScript”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.5.21100.3001
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.5.21100.3001
C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 7\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 7.5.21100.3001
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.5.21100.3001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.5.21100.3001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”
C:\Users\Nick\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\SectionTools\2021.4.8.530\SectionTools.rhp “SectionTools”

  1. A simple rectangle and some simple text.

  2. Double click text

  3. Delete the existing text from the text box. Note it is gone from the text box and the viewport.

  4. Press fx button. Note the text in the viewport is displayed again.

  5. Go through the field process, in this case getting an area of the rectangle. Note the original (deleted text) is displayed again, and the field is concatenated onto the end.

This happens in both the Edit Text dialogue and the text Properties panel.

I just noticed another aspect to this. The deleted text reappears if focus is lost from either the Edit Text dialogue or the Properties panel. So I suspect this may be some failsafe to avoid zero value text.