Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Recommended Posts

On ‎2017‎年‎8‎月‎13‎日 at 9:10 PM, Mick George said:

Where did you add your icons? What are the icons names and do they match the names in your FT?

in resource-> function->ico

bath_16.png

bath_24.png

in ft file define ico

FUNCTION NET "Run"
    dnSPNG   "bath_16"
    dnLPNG   "bath_24"
    dnTIP    "TIP_STR"
END_FUNCTION

but in chooks folder no bath_16.png&bath_24.png files

Link to comment
Share on other sites

The PNG files would not be in any Mastercam folder, as those images are embedded into your Add-In DLL.

If your PNG images are in Resources of your DLL and the "names" given to them in the Resources of your NET-Hook project match what you are telling Mastercam in your FT file,

and you are seeing these default "X" icons, this line in the FT file may be the problem ->

In the dnRES_NAME line in the FT you must tell Mastercam where in your DLL these Resources exist. 

dnRES_NAME  "HelloWorld_NETHook.Resources"

Usually (can be different!) the path to these Resources in the Add-In Assembly will be -> [Root Namespace]\Resources

You can find what the [Root Namespace] be look at the Application page in the Project properties of your Add-In.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...