Find Rhino Installation Location Programmatically

Hi @dale,

I referenced your help doc here:

But couldn’t get it to find the path with Rhino 8 unless I removed the x64 suffix from the version number.

Is this because Rhino 8 is, by default already x64 and there’s no longer another version of the .exe?

Just want to make sure I’m accessing it correctly, thanks for your help!

returns invalid/not found:

reg query HKLM\software\McNeel\Rhinoceros\8.0x64\Install

returns valid:

reg query HKLM\software\McNeel\Rhinoceros\8.0\Install
1 Like

Thanks @michaelvollrath - I’ll tune up the page.

– Dale

1 Like

Thanks Dale!

For Mac do I just reference Applications/Rhino.App ?

Perhaps a Terminal find app method by name?

Mac OS doesn’t use registry keys and such right?

Thanks!

Hi @michaelvollrath,

Why do you need to know this?

There is no “registry” in macOS.

– Dale

I’m working on a cross compatible plugin that has a portion that runs as a standalone app and I do a couple things to listen for when Rhino has launched/is done loading and such.

But that happens outside of Rhino/before rhino has launched so I can’t yet call any code from within Rhino itself so I rely on “listening” to he application itself.

1 Like