Grasshopper

algorithmic modeling for Rhino

VB component - Referencing multiple dll - Error: "ambivalent items"

Hi Folks,

I came across a problem, while referencing two dlls into a vb component.

 

It seems that some namespace, class etc. is defined in both dlls and GH gives me the attached error. Sorry it is german, but you might figuere out what it says.

 

Anyone of you have an idea, how this problem occurs or what to do to solve it.

 

Thank you very much.

 

Udo

 

Views: 385

Replies to This Discussion

Hi Udo,

 

if you have similarly named types in imported namespaces, you should prefix them with their full namespace hierarchy:

 

System.Drawing.Rectangle

 

rather then just:

 

Rectangle

 

--

David Rutten

david@mcneel.com

London, UK

Hi David,

 

thank you very much, that did the trick;)

 

Best Regards

 

Udo

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