Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Hi,
I am creating a buttun using CREO parametric toolkit application. I am using the following functions -ProCmdActionAdd()
ProCmdIconSet()
ProCmdDesignate() - all of them returns no error.
But the image is not reflecting in creo parametric tool.
.png file is in the resource folder ie, <applicationfolder>/text/resource.
some one please suggest me what could have gone wrong .
Thanks
Place it in "text\usascii\resource" and try. it may work
Maybe the images cause the problem. Make sure that you have two images within the folder you mentioned. A small one with size 16x16 pixels and a bigger one with 32x32 . The name of the bigger one has to be named with an appended "_large".
Example:
my_image.png (16x16)
my_image_large.png (32x32)
For ProCmdIconSet() use "my_image.png" as input.
Hope this helps.