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.