Grasshopper

algorithmic modeling for Rhino

Hi, I recently started accessing python tuple from C# component. This is done by referencing DLLs in IronPython directory from C# component.

The problem is, that when I bring my GH definition from home to the office, the following window pops up. This happens because in my home Rhino is installed in C:\Program Files\Rhinoceros 5 (64-bit) and in my office it is installed in C:\Program Files\Rhinoceros 5.0 (64-bit).

It's a bit annoying to correct the reference over every time I move from home to the office.

Does anyone know which path is correct/how this can happen/ how to fix this?

Views: 341

Replies to This Discussion

Welcome to the dependency/dll hell

Hope you'll find this place comfortable.

EDIT: Seriously.. you're a victim of the mechanism developed to prevent the hell from arising. I don't know how exactly the Python component gets the refs, but if the is any similarity to GH itself, then there is no easy fix for that inconvenience as far as I know.

Thanks. Reference hell also happened when we migrated to Office 2016. Some DLL had moved. Seriously, DLLs should be managed by smarter way rather than full paths!

Btw, reinstalling Rhino to my laptop in my home should be relatively easy than the workstation in my office. Just wondering if there is a way to change the installation directory at installation time.

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