[An...] Posted December 25, 2023 Share Posted December 25, 2023 Hello everyone... In ZEISS Inspect 2023 you can add resource files to scripts such as a PNG file. Is it possible to use this graphic file in a script based dialog to display it in the window? If so, how can this be programmed? Many thanks in advance for any information on this! Link to comment Share on other sites More sharing options...
[Se...] Posted January 3 Share Posted January 3 Hi, You can set it to a dialog image widget as follows: DIALOG = gom.script.sys.create_user_defined_dialog ... DIALOG.image_widget_name.data = gom.app.resource[":logo.jpg"] If all images are moved into a separate folder under scripts, for example an images folder, then DIALOG.image_widget_name.data = gom.app.resource[":images/logo.jpg"] Hope this helps! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in