Hi,
The read from excel component of the TT toolbox (2.0.3 GHA 2022-11-16) does not work.
I get this error: 1. Solution exception:Method not found: ‘System.Object System.Runtime.InteropServices.Marshal.GetActiveObject(System.String)’.
Hi,
The read from excel component of the TT toolbox (2.0.3 GHA 2022-11-16) does not work.
I get this error: 1. Solution exception:Method not found: ‘System.Object System.Runtime.InteropServices.Marshal.GetActiveObject(System.String)’.
Start with disconnecting the true toggle then make sure the Ws input is written correctly.
I use it all the time with no problems at all.
BTW: there is TT2 available on F4R, worth checking out.
Can you, please, send me that excel file? I can test it here.
ReadReactions.zip (7.7 KB)
Thanks for your help, I really appreciate
@tommasovidali94 what version of Rhino are you running?
Version 8
(8.1.23325.13001, 2023-11-21)
No problem reading it V7:
but V8 struggles:
Thanks Piotr. I will let the topic open maybe someone knows what is going on in Rhino8
I’m glad this came out. I will be switching to V8 and this is one of a key features I am relying on.
@tommasovidali94 can you try starting Rhino with .NET Framework described here:
Does that make a difference?
Same here
It worked for me. Thanks for the tip. This should be more exposed to the users with a question at the start to which version we would like to work, and option: don’t ask again
Thanks for confirming @Piotr. There is a way to always start Rhino 8 with .NET Framework, but you most likey don’t want that…
@stevebaer @curtisw any recommendations how we (authors of TT Toolbox) can interop with Excel from Rhino 8?
I am surprised this hasn’t been announced widely.
The message: hey, we are switching from Net to Core tells me nothing, but if you say: your old plugin will stop working - it is a red sign for me.
You need to avoid any of the methods/classes that are no longer in .NET. Namely, System.Runtime.InteropServices.Marshal.GetActiveObject. You can replace it with something like this.
I’ve checked your plugin with our compat tool and it appears that is the only one that needs fixing up.
Hope this helps!
What do we gain from switching between these two systems?
Thanks Curtis! We’ll look into it.
There is some explanation here
Hey All,
Just released a new patch (version 2.0.5) of TT Toolbox that should work in Rhino 8 and Rhino 7.