Grasshopper

algorithmic modeling for Rhino

Can somebody show how to add an extra component in a custom component tab. I thought I could just copy the first Class and edit some things, but I get the errors

Error      1             Resource name 'pCOLAD1.pCOLAD1.Form1.resources' cannot be used more than once.                pCOLAD8

Error      2             Resource name 'pCOLAD1.pCOLAD1.Resources.resources' cannot be used more than once.                pCOLAD8

Looking at the message, it has maybe more to do with the image I wanted to put in the second component using the same resources with a different image...? Any help is very appreciated.

Views: 242

Replies to This Discussion

Hi Hans,

I've never seen this error before, there is certainly no rule against using a resource more than once. However I think you cannot have two resources with the same name, so that may be the problem.

What exactly are these resources and is Form1 really a System.Windows.Forms.Form?

Can you post the lines of code that actually use these resources?

--

David Rutten

david@mcneel.com

Poprad, Slovakia

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service