Hi,
Im struggling with autodesk needing netV8 and everyone else needing NET v7 atm for rhino plugins. Also Speckle is incompatible with the newest autodesk data exchange.
Since they are both their best enemies, I’m looking for a way where i can start Rhino with:
NET V8 + Autodesk data exhcange plugin
or my default:
NET V7 with all the other plugins.
I agree autodesk should fix this , but atm im spending a lot of time enabling/disabling plugins and changing NET version.
I’m suggesting that I can have a shortcut or a script to run sandbox (safe mode?) rhino with autodesk data exchange + net8 while keeping my default setup.
Any good ideas?
Rhino 8 now supports .net 8 (and will fall back to it if .net 7 is not installed).
You can launch Rhino with .net 8 with the flag /netcore-8 and /netcore will launch with .net 7 so you can make shortcuts.
We have not seen any incompatibility nor had to make any changes to get our plugin from .net 7 > .net 8 - even without retargeting the pluging it just works. Maybe other plugins are more sensitive?
At the developer day last week there was talk that Rhino 8 would switch to .net 8 by default in a forthcoming SR.
Switching between sets of plugins sounds a pain - since Rhino installs plugins per windows user - could you consider using two windows user accounts on your PC to have different plugins for different tasks / workflows?
1 Like
I don’t see any issues on compiling plugins for both net7 and net8 atm.
in grasshopper once upon a time there was the possibility to create a myPlugin.no6
file next to your myPlugin.gha
file which would cause gh to skip it in GH rhino 6.
Not sure it works with rhp files though. If so, I could make a script to generate those files before launch, but it would be cumbersome.
Had a quick chat with one of the speckle developers and it’s because speckle and autodesk data exchange refer to various versions of the same libraries (…)
But I’m slightly annoyed that we have barely come over migration of a whole pool of plugins from framework 4.5 to net7 and now it’s net8. I wished McNeel went for net8 straight away since net7 was never meant as a Microsoft Long Term Support.
Also - Rhino doesnt have a smart way of disabling a plugin from its options if it is not installed through yak - you’ll have to move/remove the rhp or change your registry afaik.
yeah the .net 7 / 8 thing was unfortunate, but McNeel’s hands were certainly tied by Microsoft’s release schedule when Rhino 8 was shipping.
If within the .Yak package zip you put your plugin in net7.0-windows
or net8.0-windows
folders then the right plugin version should be loaded automagically.
I’ve not come across any incompatibilities between 7 and 8… .net 4.8>7 was definately a huge jump - but worth it - we saw a 20% performance boost out of the box. It should be fairly pain free from now on though.
my issue is that neither Autodesk Data Exchange or Speckle is shipped via Yak.
So I’m looking for a solution for users and not developers (for once..)
And hoping to find a general solution because who knows which plugins are incompatible in the future.