GumballAutoReset doesn't work

Hi,

I suspect that the GumballAutoReset doesnt work in RH8 SR6.

Gumball autoreset is currently enabled but I’m looking at a block where the gumball is placed not on centre of the block.

GumballAutoReset.3dm (575.6 KB)


As seen in the video, GumballAutoReset was enabled and the position of the gumball wasn’t updated, only when GumballReset was run did the Gumball reset to the correct position.

Note: Volume inside block was made using a python script, (automatic extrusion to certain length from 2d curves to a linear volume). But this was never a problem in RH7

_SystemInfo

Rhino 8 SR6 2024-3-19 (Rhino 8, 8.6.24079.11001, Git hash:master @ 0d13b06881495403bd28e1cee93f8c8ea0baec7c)
License type: Commercial, build 2024-03-19
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 32GB)
.NET 7.0.0

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 2060 (NVidia) Memory: 6GB, Driver date: 1-18-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 551.23
> 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
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-18-2024
Driver Version: 31.0.15.5123
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 6 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.6.24079.11001
C:\Program Files\Rhino 8\Plug-ins\WebBrowser.rhp “WebBrowser”
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoScript.rhp “RhinoScript”
C:\Program Files\Rhino 8\Plug-ins\IdleProcessor.rhp “IdleProcessor”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.6.24079.11001
C:\Program Files\Rhino 8\Plug-ins\RhinoRender.rhp “Legacy Rhino Render”
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.6.24079.11001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.6.24079.11001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.6.24079.11001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.6.24079.11001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.6.24079.11001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\BlockEdit.rhp “BlockEdit” 8.6.24079.11001
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

Hopefully you are able to recreate this bug so your able to fix it.

Thanks
Martijn

hi @Martijn I don’t see an auto reset of the gumball in Rhino 7 when reselecting a block. I do see a behavior change in Rhino 8 vs Rhino 7 though. If I drag the block and hit esc while dragging, in Rhino 7 the gumball stays put (out of center) while in Rhino 8 it resets the gumball.

I just logged this behavioral difference: RH-81205 Gumbal AutoReset acts differently in Rhino 8

Hmmm, your right. I thought it constantly updated the gumball.
I just downloaded the file and the gumball was correct again. So it does reset the gumball but only reloading the file?

Your comment about behavioral difference between Rhino 7 and 8 I see as well. Personally I never move the gumball so Rhino 7 behavior would be prefered to me

@Gijs,

I am seeing more and more blocks having there gumball not on centre anymore. Not sure what is causing it but there is some strange behaviour there.

Maybe I should rename the topic to Gumball origin misplaced or missing.

Example’s:



The same block twice, but one object the gumball is missing.

After running GumballReset it was fixed.
image

Other object also missing gumball

Ow wait its over at the world origin. Close to it but not directly on it, but it is close enough to it that its not a coincidence. I think this happend during some copy paste action? It was also fine before, but after re-entering the block it got misplace.

And of course when running GumballReset it is fixed.

Some notes:

  • Yes, this is all then same linked block but I have seen it with other blocks. Both linked and embedded link style.
  • I’m currently inside a block but I have also seen it inside the model space.
  • As far as I know, GumballAutoReset is always on

I have a temporary fix but its not ideal:
Blockedit macro:
_BlockEdit _SelAll _GumballReset _SelNone