Rhino 8 - AddtoDoc not working on Environmental Analysis Toolbar

When I generate sunpath, windrose or other graphs using the Environmental Analysis Toolbar in Rhino 8, they are generated fine, but the moment I AddToDoc, only the curves and text seem to be passed. All the meshes dissapear.

Maybe too early to try this on Rhino 8?

Hi @byron, thatā€™s strange. @chriswmackey had developed the commands using Rhino 8. It might be because we havenā€™t released the latest version publicly yet. Can you remind me what version of the Rhino plugin are you currently using?

Thanks, @byron ,

I have been developing these commands in Rhino 8 so Iā€™m doubtful that is the issue unless you have a really old service release of Rhino 8.

It seems your issue is specifically with the translation process to the Analysis mesh object that we created for the Rhino plugin, which allows you to customize the legend parameters of colored meshes that you have added to the Rhino scene.

Are you able to access this Analysis mesh for other studies? For example, can you use the ā€œPO VisualizationSetā€ component to bake visualization sets of colored meshes from Grasshopper into Rhino?

Cc: @mingbo

Hi @chriswmackey,

thanks for your reply.
I am using Rhino Version 8 SR4 (8.4.24044.15001, 2024-02-13)

Doing a ā€˜PO VisualizationSetā€™ through GH works fine.

Tried again doing the Rhino toolbar version with same results (not showing meshes).

1 Like

Thanks, @byron .

I am using the exact same version of Rhino 8.4 as you have installed but I am unable to recreate the issue. Can you use the PO_CheckUpdates command to make sure that you have the most recent version of the Pollination Rhino plugin installed?

The most recent version should be 1.43.6.0:
image

If you can still recreate the issue with the latest version of the Pollination Rhino plugin, can you let me know what EPW file you are using to make the wind rose? I remember being able to create something like what you have here with an old version of the Rhino plugin where the values of the mesh didnā€™t match the number of faces. Maybe thereā€™s something about this specific EPW that is causing one of these mesh-face matching issues.

@chriswmackey,

I do have the latest version indeed.

Give me a day to check my installations as there is something broken with my Rhino8. I seem to be missing the Rhino template files as well. I tried doing a full uninstall of all Rhinos from my machine, but probably need to go deeper.

Will give you an update soon

1 Like

Hi @chriswmackey .
I have been playing with Rhino 8 again and it seems that my simulations are not being added to doc either.

Hey @byron ,

Iā€™m not able to recreate the issue on my end. The results are being added fine to the Rhino 8 document on my end:

What exactly happens when you try to add the result to the Rhino doc?

Hi @chriswmackey,

this is really weird. For me the simulations works fine;

but then when I AddToDoc = Yes, nothing happens.

I get this error on both my personal and work laptop.

I installed the new Pollination-for-Rhino version, just for Rhino 8, as per Mostaphaā€™s guide, but I still have problems with my ā€œAddToDocā€ functionality.

It will add curves (sunpath, windrose compass, etc) but none of the meshes.

p.s. the ā€œGet location from EPWā€ under Project Information, now works fine!

1 Like

Thanks for letting us know @byron . Let me see if I can recreate it.

Hey @byron .

I canā€™t seem to recreate the issue that you are talking about. I was able to bake the colored mesh of the sky dome:

ā€¦ and the colored meshes of radiation studies:

Are you getting an error message at all when you try to add them to the doc?

Ah wait. I was in Rhino 7. I can recreate the problem in Rhino 8.

I think I am going to need @mingbo 's help to figure out what is going wrong as the issue is with his AnalysisMesh object that Iā€™m trying to create on this line of code that runs within the command:

It seems like Something is failing to create the AnalysisMesh object in Rhino 8. I canā€™t find any error message, @mingbo .

2 Likes

@mingbo ,

I did another test and I am able to use your AnalysisMesh object when I set the Rhino 8 .NET Rumtime back to NetFramework. It seems that the only situation where I canā€™t create an AnalysisMesh is when the Runtime is NetCore.

2 Likes

Hi @chriswmackey,

There is a more complex issue with the Script Editor in Rhino 8.
But I am able to get around with it by this fix:
fix(Rhino8): fix dll reference issue in Rhino 8 .NetCore by MingboPeng Ā· Pull Request #350 Ā· ladybug-tools/ladybug-rhino

2 Likes

Thanks, @mingbo .

I have verified that this fix gets things to work with both DotNetFramework and DotNetCore. The fix is currently available via the LB Versioner component and it will be in the next release.

1 Like

Great,

Thanks @mingbo. I already run the versioner this morning for another topic.

Will give a try soon.

Hi @byron, the change was merged earlier today. You may need to re-run the versioner again if you used it before today. Let us know how it goes!