Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4145

Excel Interop in Rhino 8 Script Editor (Python 2)

$
0
0

I am having trouble with the new script editor, running below code gives an error in Rhino 8 while it runs fine in Rhino 7? Any ideas?

The error: IOError: System.IO.IOException: Could not add reference to assembly Microsoft.Office.Interop.Excel

#! python 2
import clr
clr.AddReference("Microsoft.Office.Interop.Excel")
from Microsoft.Office.Interop import Excel

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4145

Trending Articles