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

Rhino python how to get relative path of installation on both win&mac?

$
0
0

I would like to import 3rd party dll to rhino python and distribute plugin to others, how could I guarantee that the dll imported correctly on every user I send to?

My attempt is write a bat file that auto-copying the dll to rhino installation path, and in the script just import dll from installation path with clr, I think this is the most convenient way. But I didn’t find related method to auto get installation path in rhinocommon api. May be I miss something?

Is this achievable on mac as well?

6 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles