Capture View Component Unable to find New Viewports in Rhino Model

For the new LB Capture to View Component 1.2.0 i keep getting the following error:

  1. Solution exception:Viewport “x” was not found in the Rhino document.

It can find the native views in the Rhino Document: “Top, Left, Right, Bottom and etc” but not the custom or new view ports that i have created.

thoughts?

Thank you,

Chris

Sounds obvious but i guess you are misspelling the name of your saved view.
This component works fine for me.
-A.

The issue here was that it wasnt reading “Named Views” but after i created new “Viewports” it was able to process those. Are those supposed to be used interchangeably?

This was part of the error when i added the viewport:

Traceback:
line 102, in script
line 79, in viewport_by_name, “C:\Users\cflynn\ladybug_tools\python\Lib\site-packages\ladybug_rhino\viewport.py”

Hi @cflynn29 ,

This issue was fixed/improved in the latest development version of the plugin. In the last stable release (1.2.0), you need to have the named view in one of the several open viewports in order for the view to be captured. However in the latest development version (and the future stable release of 1.3.0), the component will automatically open a viewport with the named view if it doesn’t find it in the current Rhino doc. So you’ll no longer experience this issue.

Hi Chris, it seems in v1.8 this is still not fully fixed. I am currently encountering this issue, where certain named views are save, whilst other trigger an error. Tried lacing these as active view, or in a grid to make all these visible, and replaced them with new views, there there is still lots of inconsistency (as it did work in the past)

Seems to cause issues with multiple named views and file names (although both grafted) as individually the view save, although sometime i need to set the view to fullscreen and select the named with to math the one i am trying to save
Screenshot 2024-12-11 085727