question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Launch Rhino.Inside programmatically.

See original GitHub issue

Is your feature request related to a problem? Please describe. This is not a bug.

Describe the solution you’d like I am wondering if there is a way in the API that I can launch Rhino.Inside. Essentially the same process as clicking the start button but programmatically.

Describe alternatives you’ve considered I have tried to load RhinoCommon and RhinoLibrary dlls with assembly resolve as a workaround but I get an AccesViolationException on protected memory.

Additional context I currently have a very large application which needs Rhino.Inside to be loaded before the user can run any of our applications, since all our app has a dependency on RhinoCommon . It would be very helpful if I can handle this within the code.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
htlcnncommented, Mar 30, 2021

You could check loaded assemblies to detect if Rhino Inside has been loaded. If not, use PostCommand to call Rhino. After that, you could reference Rhino Inside. I did that with pyRevit.

1reaction
nicholasBimorphcommented, Mar 30, 2021

@eirannejad thank you for your quick reply. That would be very useful!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started with Rhino.Inside.Revit
Click on the Start button to start loading Rhino.Inside.Revit. The addon, attempts to load Rhino 7 inside Revit's memory and make sure it...
Read more >
Load Rhino.Inside.dll and RhinoCommon.dll programatically
We need to be able to load the Rhino.Inside.dll and RhinoCommon.dll when our Revit add-in is launched without needing to launch Rhino Inside...
Read more >
Rhino.inside GH_Component not running - McNeel Forum
Hi, I have a rhino.inside console app with no UI, this opens a grasshopper document with components. In short I do the following:...
Read more >
Rhino.Inside.UE - Getting Started
I'd like to build on this and extend the functionality by creating some functions either as a UFunctionLibrary or an AActor to call...
Read more >
Wave screens in Revit using Rhino Inside! - YouTube
Today on the channel we play with Rhino Inside to get some funky screening into Revit nice and easily thanks to Grasshopper's graph...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found