Unexpected behavior Layout Details not updating from Gh

Hi All,

I am trying to create a layout that shows geometry and text generated in Grasshopper (without baking the text or geometry to the Rhino document).

I am finding that the layout detail view does not update until I double click into the view as if I were entering model space! I made a gif demonstrating the problem, and here is a minimal example with just a single point on the Grasshopper canvas.

PointDisplayNotUpdatingInLayoutView
MinimalPointProblem_v0.0.gh (1.8 KB)
MinimalTextProblem_v0.0.3dm (158.1 KB)

Here is my system info:
Rhino 7 SR8 2021-7-15 (Rhino 7, 7.8.21196.05001, Git hash:master @ 45c1fd6dc85c7c1cce8c0bbe6f3e16481ae9abfa)
License type: Commercial, build 2021-07-15
License details: Cloud Zoo

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

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

Hybrid graphics configuration.
Primary display: Intel(R) UHD Graphics (Intel) Memory: 1GB, Driver date: 9-5-2020 (M-D-Y).
> Integrated graphics device with 3 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
- Secondary monitor attached to adapter port #1
Primary OpenGL: NVIDIA Quadro RTX 4000 with Max-Q Design (NVidia) Memory: 8GB, Driver date: 7-7-2021 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 462.98
> Integrated accelerated graphics device with 4 adapter port(s)
- Video pass-through to primary display device

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: 7-7-2021
Driver Version: 27.21.14.6298
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 8 GB

Rhino plugins that do not ship with Rhino
C:\Program Files\Chaos Group\V-Ray\V-Ray for Rhinoceros\V7\VRayForRhino.rhp “V-Ray for Rhino”

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.8.21196.5001
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RPC.rhp “RPC”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.8.21196.5001
C:\Program Files\Rhino 7\Plug-ins\RhinoRender.rhp “Legacy Rhino Render”
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.8.21196.5001
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.8.21196.5001
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.8.21196.5001
C:\Program Files\Rhino 7\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 7.8.21196.5001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.8.21196.5001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”

This is weird.

But try this: in the Layout Properties, set the printer to RhinoPDF instead of None.

Does the problem persist?

Hi Martin,

No, that doesn’t make any difference. Just to be clear… the problem is not when I am printing the PDF, this occurs when I am viewing the Layout in LayoutSpace.

The Grasshopper geometry does not update until I double-click into a detail view.

I got that but when I tried with the file above yesterday it seemed to make a difference.

Thanks for giving it a try!

Check this, something is wrong with the detail:

Super strange. I am not able to reproduce that. No matter how I resize the detail, create a new detail, or create a new layout and a new detail.

here are my sample files:
MinimalTextProblem_v0.1.3dm (164.6 KB)
MinimalPointProblem_v0.1.gh (9.0 KB)

@wim, can I ask you to tag the correct person at McNeel on this one?

One fix this is to force the ViewTable to redraw all views in the Rhino document each time the grasshopper component expires. I have written a little python component that grabs the active document’s View Table and redraws everything, it is calling this object: ViewTable Class

I attach a minimal example, and here is a GIF that shows the behavior with this component active vs inactive.
ForceRedraw
ForceRedrawSolution.gh (11.3 KB)
ForceRedrawSolution.3dm (163.0 KB)

2 Likes