<?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: Location of picture referenced with index in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Location-of-picture-referenced-with-index/m-p/223628#M2619</link>
    <description>I have never gotten involved in this myself, but I believe the image is stored as binary information inside the actual GSM object.&lt;BR /&gt;
You can not access the images directly in the GDL editor.&lt;BR /&gt;
&lt;BR /&gt;
I believe you need to use the LP_XMLConverer tool to extract the images from the file.&lt;BR /&gt;
It can also be used to re-create the object and embed the images in it.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool" target="_blank"&gt;&lt;LINK_TEXT text="http://gdl.graphisoft.com/tips-and-tric ... erter-tool"&gt;http://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
    <pubDate>Wed, 15 May 2019 07:59:54 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2019-05-15T07:59:54Z</dc:date>
    <item>
      <title>Location of picture referenced with index</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Location-of-picture-referenced-with-index/m-p/223627#M2618</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
I have a model I need to modify with a ui_pict_button in the Interface script, where the picture_reference is an index, as shown below&lt;BR /&gt;
&lt;BR /&gt;
ui_pict_button ui_link,"text", 1, 300,0, 100,30, 1, "&lt;A href="http://www.somewebpage.com" target="_blank"&gt;www.somewebpage.com&lt;/A&gt;" UI_TOOLTIP "Click to open webpage"&lt;BR /&gt;
&lt;BR /&gt;
From the GDL Reference Guide I understand that the first number 1 is a picture index which makes reference to a picture stored in the library part. However, this line is the only one in the model which has any mention of a picture. Furthermore, the image in question is not found as a file in the library's folder structure, so I assume that it is somehow stored within the model.&lt;BR /&gt;
&lt;BR /&gt;
My question is,&lt;BR /&gt;
&lt;BR /&gt;
How can a picture be stored with a picture index and where is it stored?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
blob&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 May 2019 07:47:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Location-of-picture-referenced-with-index/m-p/223627#M2618</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-15T07:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Location of picture referenced with index</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Location-of-picture-referenced-with-index/m-p/223628#M2619</link>
      <description>I have never gotten involved in this myself, but I believe the image is stored as binary information inside the actual GSM object.&lt;BR /&gt;
You can not access the images directly in the GDL editor.&lt;BR /&gt;
&lt;BR /&gt;
I believe you need to use the LP_XMLConverer tool to extract the images from the file.&lt;BR /&gt;
It can also be used to re-create the object and embed the images in it.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool" target="_blank"&gt;&lt;LINK_TEXT text="http://gdl.graphisoft.com/tips-and-tric ... erter-tool"&gt;http://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Wed, 15 May 2019 07:59:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Location-of-picture-referenced-with-index/m-p/223628#M2619</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2019-05-15T07:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Location of picture referenced with index</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Location-of-picture-referenced-with-index/m-p/223629#M2620</link>
      <description>Hi Barry, thanks for your reply&lt;BR /&gt;
&lt;BR /&gt;
This seems to be the answer I was looking for, thank you!&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
blob</description>
      <pubDate>Wed, 15 May 2019 08:11:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Location-of-picture-referenced-with-index/m-p/223629#M2620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-15T08:11:37Z</dc:date>
    </item>
  </channel>
</rss>

