2023-03-09 08:33 AM
I recall there is a way to bind images used within the interface into the gsm file, so they don't have to be separate. I have had a look through the LP_XMLConverter thinking it would be done here but can't find it. Can it be done?
Solved! Go to Solution.
2023-03-09 09:37 AM - edited 2023-03-09 09:42 AM
Hi!
Yes, there is a way.
1. Use LP_XMLConverter to turn your .gsm into hsf file format
2. In the hsf folder structure create an "images" folder next to your "scripts" folder and put your images there
3. Open the libpartdata.xml file to refer to your images
More on hsf source format and libpartdata.xml and its syntax on the GDL Center
4. Use LP_XMLConverter to turn your hsf back to .gsm
5. Refer to your images by their number in your code!
Let me know if you have any other questions!
Best regards,
Zsuzsi
2023-03-09 09:37 AM - edited 2023-03-09 09:42 AM
Hi!
Yes, there is a way.
1. Use LP_XMLConverter to turn your .gsm into hsf file format
2. In the hsf folder structure create an "images" folder next to your "scripts" folder and put your images there
3. Open the libpartdata.xml file to refer to your images
More on hsf source format and libpartdata.xml and its syntax on the GDL Center
4. Use LP_XMLConverter to turn your hsf back to .gsm
5. Refer to your images by their number in your code!
Let me know if you have any other questions!
Best regards,
Zsuzsi
2023-03-10 12:20 AM
Thanks Zsuzsi,
There's a few manual steps there for a library with many objects, pity it is not more automated but will look into it.