VisSet Legend error

Hi all
It seems like the VisSet commponent flips the legend color when LB Legend Parameter switches from horizontal to vertical. Is there a way to correct this?



Thanks

Hi @AndyKobe,

What is your version of lbt-grasshopper?

image

Hi @mikkel
Iā€™m using Rhino 8 SR14 and LBT 1.8.62

Thanks! Are you able to share a sample file that results in this issue?

Hi @mikkel
Here is a sample file
Thanks for your time
241219_error_LBT_18.gh (45.1 KB)

Thanks, @AndyKobe.

I am not able to recreate the issue. Maybe @chris has any ideas.

Hey @AndyKobe ,

I sense that you are using the Pollination Rhino plugin here since the legend style in your screenshot looks different than what I get with your Grasshopper script:

So I think youā€™re experiencing the Pollination Rhino plugin bug here:

@MingboPeng should be able to fix this soon.

Hi @chris
I used the pollination rhino plugin for installation but not the simulation

1 Like

It seems I cannot recreate this issue.
I also baked the vis-set to Rhino, It works fine on Rhino side.

Hi @AndyKobe, could you try to use the latest installer to see if you can recreate this on your machine?

I have the same problem and Iā€™m using a freshly updated version 1.8.71 and used the installerā€¦

Hi,
The problem also shows on my side: The legend swaps colors when set to horizontal/vertical.
-A.

Thank you @anders and @AbrahamYezioro for confirming the issue.
I tried to use the above sample file and switch the settings between horizontal and vertical, everything looks correct on my side. Any chance that you could record a video to show how to recreate this issue?

Hi @MingboPeng ,
Here you go:

Thanks
-A.

Hi @AbrahamYezioro, it is very weird, I still cannot recreate this:

Hi @MingboPeng ,
Can it be related to the SetDotNetRuntime?
This is what I have in R8:


:man_shrugging:t2: :man_detective:t2:

-A.


It is almost weirder when I try on my macā€¦I get no color legend but the numbers are thereā€¦

It is almost weirder when I try on my macā€¦I get no color legend but the numbers are thereā€¦

This might be a different issue. Rhino on Mac doesnā€™t support all functions in Windows. We will need to do more test and report this to McNeel.


Here is a test on my win11 and I have the same errorā€¦colors reversed in the legend.

When playing around a little I also noticed that the 3D legend is not quite doing as expected. It doesnā€™t allow me to set segment height and width, not will it let me change between horizontal and verticalā€¦

BTW Where do I find the Visualizationset component that allows you to bake to the Rhino screen and move it round?..it is super neat and would save me a lot of time in post

thanks
anders

Update: I can confirm this a bug in Rhino 8ā€™s DisplayBitmap, and I have reported it to McNeel. Before they fix it officially, I think the only way to get around with it is do not update the Rhino 8 to SR14 and 15.

Bug in Rhino.Display.DisplayBitmap Rhino 8 SR14 and SR15 - Rhino Developer - McNeel Forum

3 Likes

Thank you all very much for bringing this up and thanks to @MingboPeng for getting to the bottom of it. Now that McNeel knows about it, they can work on the real fix.

Since Mingbo narrowed down the cause to changes made in Rhino 8.14, it was pretty straightforward to add a workaround for this until McNeel pushes a service release with the real fix. I pushed a patch here:

ā€¦ and you can now get the patch with the LB Versioner. I verified that this produces the correct 2D legend in both Rhino 7 and Rhino 8 regardless of the .NET runtime.

All of the other issues that @Anderssmith raised are not really bugs on our end. The 2D legend display on Mac is a known issue on McNeelā€™s end but itā€™s resolvable by using a VM running Windows. The other issue is not a bug at all but just a question about how to use Grasshopper and manage the preview of different objects (you should open a separate issue for it if you arenā€™t able to figure it out on your own). Lastly, the answer to this:

Is that it is a part of the Pollination Rhino plugin, which is paid but we offer a 90% student discount. Generally, you can bake your colored meshes into Rhino along with their legends if you have the Pollination plugin installed and this allows you save your results into the 3dm and to play with legend parameters any time you want by double-clicking on the legend.

2 Likes