The PTC Community email address has changed to firstname.lastname@example.org. Learn more.
I am creating a buttun using CREO parametric toolkit application. I am using the following functions -ProCmdActionAdd()
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 .
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".
For ProCmdIconSet() use "my_image.png" as input.
Hope this helps.