Grasshopper

algorithmic modeling for Rhino

Grasshopper misbehaves when Rhino is launched as an ActiveX

Hello someone@grasshopper,

The following problems occur only after launching Rhino (5.0) as an ActiveX. That is, by

"Rhino5Application rhino = new Rhino5Application();"

or by

"var type = Type.GetTypeFromProgID("Rhino5.Application", true);

"dynamic rhino = Activator.CreateInstance(type);"

Problem (1) : GHPython (The scripting component for python causes Rhino itself to crash when trying to open the code editor in the python component).

Problem (2) : The C# component fails in performing simple code as the following:

(We could not read the entire Script exception due to the size of the popup)

As I said, these issues only occur when launching Rhino as an ActiveX. If Rhino is launched manually - all works OK.

We tried it both on Windows 7 and Windows Server 2008. 

Views: 476

Attachments:

Replies to This Discussion

Hi Tanir

the automation object is usually used to fully automate a task, and not to open a new instance. Still, I would like to repeat this but I cannot.

  • Can you plug a panel to see the full text of the C# error?
  • What is the automation caller? Rhino? Or another application?

Thanks,

- Giulio
________________
giulio@mcneel.com

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service