Another fix is to use clr.AddReferenceToFileAndPath("path_to_dll_file"). This does work with the new .NET Core 7 of Rhino 8.
For some reason using clr.AddReference() does not find the Windows Assembly folder containing the .dll files for Interop Assemblies (such as Office, etc.)
Hi there. I tried the method you mentioned in Rhino 8 (python 3) but it says the Name Attribute module āclrā has no attribute āAddReferenceToFileAndPathā. Itās not working actually
I tried to do that but I failed. Iām not sure which part Iām doing wrong. Iām trying to import Excel Application Class as shown in the picture below but in Rhino 8 the old method is not working.