cancel
Showing results for 
Search instead for 
Did you mean: 

Picture file in Addon

Former Member
0 Kudos

Hi,

I have an addon in which I create a new Menu with a specific picture.

I would like to know where do I have to put the picture file in order to see it in my menu?

Thank you !

Thibault

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Thibault,

I just provide the full path to my picture... Works like a charm...

Hope it helps,

Rowdy

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Pay attention to full paths, if the pc where your addon is installed has a different disk structure (D: for the main disk name instead of C: more common) you will have problems in your client site.

Regards

Trinidad.

Former Member
0 Kudos

Hi,

Thanks, I know now how it works !

I will pay attention to full paths also.

Regards,

Thibault

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thibault,

What is your exact question?

In the MenuCreationParams object you have the property "Image" where you point to your image file name.

If you don't specify a path your addon will search in the same directory where your addon exe is located.

If you specify a relative path the it will relate to the directory of your addon exe.

You have to include this file when you create your addon install in order to have it copied into your addon installation directory or a directory inside it.

Did I answer your question?

Regards

Trinidad.