Attribute User Text: Cannot paste key or value

Pasting a key or value fails in the last and current WIP. I’m not sure when the issue started but I’ve definitely pasted values before.

I can paste into a layer name or notes panel so the text I’m trying to paste can be pasted.

I’m using Grasshopper as a work around.

System Info

Rhino 9 SR0 2025-4-29 (Rhino WIP, 9.0.25119.12305, Git hash:master @ b28f1a16274262af0fd643485dfe1fcecacec2cc)
License type: Commercial, build 2025-04-29
License details: Cloud Zoo
Expires on: 2025-06-13

Windows 11 (10.0.26100 SR0.0) or greater (Physical RAM: 128GB)
.NET 9.0.4

Computer platform: DESKTOP

Standard graphics configuration on OpenGL
Primary display: NVIDIA RTX A5000 (NVidia) Memory: 24GB, Driver date: 1-26-2025 (M-D-Y). OpenGL(4.6.0 NVIDIA 572.16)
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port 0
- Secondary monitor attached to adapter port 1

Secondary graphics devices.
NVIDIA Quadro K2200 (NVidia) Memory: 4GB, Driver date: 1-26-2025 (M-D-Y).
> Accelerated graphics device with 4 adapter port(s)
- There are no monitors attached to this device!

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
GPU Tessellation is: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

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: 1-26-2025
Driver Version: 32.0.15.7216
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 24564 MB

Rhino plugins that do not ship with Rhino
C:\Program Files\Rhino 9 WIP\Plug-ins\ConstraintsUI.rhp “Constraints UI” 9.0.25119.12305

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 9 WIP\Plug-ins\Commands.rhp “Commands” 9.0.25119.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 9.0.25119.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 9.0.25119.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 9 WIP\Plug-ins\MeshCommands.rhp “MeshCommands” 9.0.25119.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 9.0.25119.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoCycles.rhp “RhinoCycles” 9.0.25119.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 9.0.25119.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 9 WIP\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 9 WIP\Plug-ins\SectionTools.rhp “SectionTools”

Hi Martin -

I’ve tested that in a few versions now, and that appears to be working fine in all here.
Perhaps there are some specific steps that need to be taken for it to fail?
-wim

I tried this with a fresh file again in Rhino 9 WIP and 8 and it does not work.

I was able to add it through the command line by pasting so I guess the issue can’t be my clipboard or mouse?

Also a comma separated ‘key, value’ pair can be pasted successfully so the issue is really just when either a key or a value needs to be pasted.

I thought maybe it fails because I have two properties panels but even after getting rid of the second panel I cannot paste a key or value.

simple-box-user-text-paste-fails.3dm (58.8 KB)

PS: when you enter something in the search bar and want to escape, ESC does nothing and I need to click the ‘x’ at the right end of the text field. Adding ESC functionality would be nice?

I just added support for pasting Key/Value from the clipboard in SR19. No previous versions of Rhino could do this like your video shows. You could only paste a key/value from panel to panel using the context menu or paste into an active text edit area. Or single values into any grid cell that is in active edit mode (not just row highlighted)

The reason your single value fails to paste is because the grid cell isn’t in active edit, its just highlighted. I think to fix that I’ll make it paste into the inactive cell as long as your mouse is over it , and there’s no comma or tab (otherwise paste in cell edit mode). Then it will work like you’re trying to do it in your video. RH-87263

By default I made Copy use Key [TAB] Value in order to be compatible with copy/pasting to Excel and Sheets. However I added a TestUserTextCopySeparator that will let you change it to Copy as Key [Comma] Value for csv style copy for pasting to other applications that are expecting the comma.

1 Like

Not sure if I understand this. Even when I try to overwrite an existing value by double clicking and marking the entire value or a part of it… ctrl+v does not do anything. All I’m trying to do is ctrl+v some text in a text field.

In this following video, I select text in the notes panel and copy it with ctrl+c, then double left to activate the value text field and I try to paste it with ctrl+v. This operation fails.

Right click ‘kopieren’ > double left click > ‘einfügen’ works. This is weird. I tested one more thing after capturing the screen video. Marked the text in the notes panel, hit ctrl+c and then double left click and RMB ‘einfügen’ on the value.

ok no worries, ill take a look and make sure it works.

2 Likes

@Trav, i can repeat that here too, CTRL+V does not paste even if i have entered the cell in edit mode using double click.

_
c.

1 Like

Also noticed this on 8.20 today and thought I was causing the error elsewhere my my code but appears not. Thank you

1 Like

RH-87263 is fixed in Rhino 8 Service Release 20 Release Candidate

Thank you!

1 Like