Is there a way to encapsulate the ICO icon of your homemade PML plug-in through the. Resource file

E3D开发工程师您好,

当我使用 PML 进行插件开发时,我遇到了一个问题。插件有时需要大量的图片作为图标,目前只能通过一个文件夹来存储这些文件,很容易遗漏。

我注意到E3D本身的菜单功能,比如图标的图片是通过“AvevaSharedIcons”> ID_xxxx实现的,图片资源的形式似乎被封装在AvevaSharedIcons中。资源文件,我想知道是如何实现这种方法,我可以在我自己的 PML 程序中遵循这种方法吗

  • Hello E3D development engineer,

    I ran into a problem when I was using PML for plugin development. Plug-ins sometimes require a large number of pictures as icons. Currently, these files can only be stored in one folder, making them easy to miss.

    I noticed that the menu functions of E3D itself, such as icon pictures, are implemented through "AvevaSharedIcons"> ID_xxxx, and the form of picture resources seems to be encapsulated in AvevaSharedIcons. resource files, I would like to know how this approach is implemented and can I follow this approach in my own PML program