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

Marshal.GetActiveObject "Grasshopper": Possible?

$
0
0

Hello
Using this we can get data from opened Excel file, can we do the same with Grasshopper?

import System
from System.Runtime.InteropServices import Marshal
excel = Marshal.GetActiveObject("Excel.Application")

I tried this but didn’t work:

rhino = Marshal.GetActiveObject("Rhin7.Application")

grasshopper = Marshal.GetActiveObject("Rhin7.Grasshopper.Document")

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5781

Trending Articles