<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: UI Infield Pictures in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/UI-Infield-Pictures/m-p/579909#M6045</link>
    <description>&lt;P&gt;I prefer having the object independent of loaded libraries in this specific case, I'll give LP_XMLConverter a try. Thanks all!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Dec 2023 11:13:08 GMT</pubDate>
    <dc:creator>pedrocollares</dc:creator>
    <dc:date>2023-12-12T11:13:08Z</dc:date>
    <item>
      <title>UI Infield Pictures</title>
      <link>https://community.graphisoft.com/t5/GDL/UI-Infield-Pictures/m-p/579771#M6041</link>
      <description>&lt;P&gt;Hi all, I'm kind of clueless on how the ui_infield{3} images work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's this Electric object in our local AC Library, in which each of the options hold a different picture icon:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pedrocollares_0-1702313440002.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/50337i7C9553DE78EA1184/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pedrocollares_0-1702313440002.png" alt="pedrocollares_0-1702313440002.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm currently doing a few changes to that to give it a few more functionalities, (I started a new object and copied all content), and even if my version is perfectly identical in its Master, 2D, Parameters and Interface scripts, the pictures do not show:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pedrocollares_2-1702313724764.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/50339i5325B363D304B244/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pedrocollares_2-1702313724764.png" alt="pedrocollares_2-1702313724764.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've seen in &lt;A href="https://gdl.graphisoft.com/reference-guide/the-user-interface-script" target="_self"&gt;this page&lt;/A&gt; that those pictures come out of a 'picture_name', but where do those pictures are stored in a GDL object, so I can use them?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to know that so I can also create custom UI pictures for other GDL objects as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 08:27:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/UI-Infield-Pictures/m-p/579771#M6041</guid>
      <dc:creator>pedrocollares</dc:creator>
      <dc:date>2024-09-24T08:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: UI Infield Pictures</title>
      <link>https://community.graphisoft.com/t5/GDL/UI-Infield-Pictures/m-p/579777#M6042</link>
      <description>&lt;P&gt;To get your images into the object you must use the LP_XMLConverter.&lt;/P&gt;
&lt;P&gt;It's a bit sad, that there is no way to do this directly in the GDL editor, but it is what it is.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 17:50:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/UI-Infield-Pictures/m-p/579777#M6042</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2023-12-11T17:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: UI Infield Pictures</title>
      <link>https://community.graphisoft.com/t5/GDL/UI-Infield-Pictures/m-p/579825#M6043</link>
      <description>&lt;P&gt;I have never used LP_XMLConverter.&lt;/P&gt;
&lt;P&gt;I can't say I have used ui_infield{3} often, but I am sure I have at some time&lt;/P&gt;
&lt;P&gt;Any images I use in the interfaced script, I just have them in my loaded libraries (my office library).&lt;/P&gt;
&lt;P&gt;So long as the image files used in the UI script are in the loaded library, you should be able to see them.&lt;/P&gt;
&lt;P&gt;If you add a new image to your library while working on an object, you need to reload the library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 01:00:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/UI-Infield-Pictures/m-p/579825#M6043</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-12-12T01:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: UI Infield Pictures</title>
      <link>https://community.graphisoft.com/t5/GDL/UI-Infield-Pictures/m-p/579905#M6044</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/14571"&gt;@pedrocollares&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is no .lcf archive associated to the first object or library folder linked to the library, then the pictures are embedded in the object thanks to the LP_XMLConverter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to extract them then you would need to use those commands in your terminal :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;// For Windows
"C:\Program Files\GRAPHISOFT\ARCHICAD $VersionNumber\LP_XMLConverter.exe" libpart2xml -img "$imageFolderPath" "$binaryFilePath" "$xmlFilePath"&lt;/LI-CODE&gt;&lt;LI-CODE lang="php"&gt;// For Mac
/Applications/GRAPHISOFT/ARCHICAD $VersionNumber/ARCHICAD $VersionNumber.app/Contents/MacOS/LP_XMLConverter.app/Contents/MacOS/LP_XMLConverter libpart2xml -img $imageFolderPath $binaryFilePath $xmlFilePath&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would extract the pictures to the $imageFolderPath&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 10:22:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/UI-Infield-Pictures/m-p/579905#M6044</guid>
      <dc:creator>MF BIM</dc:creator>
      <dc:date>2023-12-12T10:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: UI Infield Pictures</title>
      <link>https://community.graphisoft.com/t5/GDL/UI-Infield-Pictures/m-p/579909#M6045</link>
      <description>&lt;P&gt;I prefer having the object independent of loaded libraries in this specific case, I'll give LP_XMLConverter a try. Thanks all!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 11:13:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/UI-Infield-Pictures/m-p/579909#M6045</guid>
      <dc:creator>pedrocollares</dc:creator>
      <dc:date>2023-12-12T11:13:08Z</dc:date>
    </item>
  </channel>
</rss>

