Grasshopper

algorithmic modeling for Rhino

Hi Guys,

This is my first time to write gha plug-ins with Visual Studio and have some problems with probably basic things...

 How do I add an icon to the gh components,How should write here。

Regards,

NARUTO

Views: 668

Replies to This Discussion

Hi,

this one does the job for me:

protected override Bitmap Internal_Icon_24x24
{
get
{
return GH_my_App.Properties.Resources.my_pict;
}
}

Cheers,

RM

And in your folder proyect> folder resources, u must save your pics.

   HI Daniel

Thank you for your reply,According to your method I get an error

I only did this in one occasion, but I see that instead of .my_pict, you must put the .name-of-your-image.
And the folder must be named Resources. Could not be the correct folder?
Sorry but I can not help more.

  HI raul

Thank you for your reply,According to your method I get an error,I saved my pictures,Do you have any other suggestions, thank you

I do not know where I was wrong?

Problem has been resolved

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