<?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 Betreff: Generate preview picture with script? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Generate-preview-picture-with-script/m-p/642344#M7239</link>
    <description>&lt;P&gt;I created the GDLnucleus tool for MAC OS , which can do that in a nearly automatic way, after you have made some settings. It is a python-script which works together with Visual Studio Code.&lt;BR /&gt;Some Information you can find here:&lt;BR /&gt;&lt;A href="https://www.b-prisma.de/anwender/gdlnucleus/" target="_blank"&gt;https://www.b-prisma.de/anwender/gdlnucleus/&lt;/A&gt;&lt;BR /&gt;The latest version has to be updated, befor you can use it.&lt;BR /&gt;The Windows Version was created by Frank Beister an it can do the same, it works with Sublime Text, but I do not know if it is up to date now.&lt;BR /&gt;&lt;A href="http://www.opengdl.org/Tools/Large-GDL-Object-Fission-Fusion" target="_blank"&gt;http://www.opengdl.org/Tools/Large-GDL-Object-Fission-Fusion&lt;/A&gt;&lt;BR /&gt;Both versions cost some money (MAC OS 25 Euro, WIN 50 Euro).&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2024 13:25:51 GMT</pubDate>
    <dc:creator>Jochen Suehlo</dc:creator>
    <dc:date>2024-12-04T13:25:51Z</dc:date>
    <item>
      <title>Generate preview picture with script?</title>
      <link>https://community.graphisoft.com/t5/GDL/Generate-preview-picture-with-script/m-p/642338#M7236</link>
      <description>&lt;P&gt;Hi there!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a lot of old 2D objects and want to put&amp;nbsp;preview picture on it, but I don't want to open every single part then, screenshoot, save exit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a some faster way to generate&amp;nbsp;preview picture for GDL objects other then a screenshot?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe to add a line of code that generates a preview pic from 2D or someting?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 13:02:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Generate-preview-picture-with-script/m-p/642338#M7236</guid>
      <dc:creator>Domagoj Lukinic</dc:creator>
      <dc:date>2024-12-04T13:02:28Z</dc:date>
    </item>
    <item>
      <title>Betreff: Generate preview picture with script?</title>
      <link>https://community.graphisoft.com/t5/GDL/Generate-preview-picture-with-script/m-p/642342#M7237</link>
      <description>&lt;P&gt;Yes, it is possible with the LP_XML_Converter, with a special command.&lt;BR /&gt;&lt;BR /&gt;The Sub-ID for preview images must be set to 0.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;H3 id="builtin_images"&gt;4.2 Handling built-in images&lt;/H3&gt;
&lt;P&gt;Library parts can contain "built-in" images. LP_XMLConverter eases the access of this feature, too.&lt;/P&gt;
&lt;P&gt;The steps of usage are the following:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a folder for the image files and place images in it. The images can be of any format known by ARCHICAD.&lt;/LI&gt;
&lt;LI&gt;Refer the images from the XML files using the following syntax:
&lt;PRE&gt;&amp;lt;GDLPict MIME="image/png"
    path="subfoldername/filename.png"
    SubIdent="3"
    platform="Win"
    SectVersion="19"
    SectionFlags="0"&amp;gt;
&amp;lt;/GDLPict&amp;gt;&lt;/PRE&gt;
The &lt;EM&gt;path&lt;/EM&gt; is relative to the main image folder, which is passed to the converter via the &lt;CODE&gt;-img&lt;/CODE&gt; commandline parameter. &lt;EM&gt;SubIdent&lt;/EM&gt; is the inner identifier of the image. This ID can be used to access the image from the scripts. In case of using &lt;CODE&gt;-keepimagepath&lt;/CODE&gt; commandline option, these filenames are invariable after the conversion. Otherwise the filenames become subfoldername/GDLPict_X.ext, where X is the inner identifier of the image ('SubIdent').&lt;/LI&gt;
&lt;LI&gt;Use the image in the scripts of the library part containing it. The actual image can be identified by the SubIdent value, as this example shows:
&lt;PRE&gt;UI_INFIELD "parName", xPos, yPos, width, height,
        1, 3, 5, 1,        ! mind the "3"
        56, 50, 40, 40,
        1, "",
        2, "",
        3, "",
        4, "",
        5, ""&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 04 Dec 2024 13:10:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Generate-preview-picture-with-script/m-p/642342#M7237</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2024-12-04T13:10:56Z</dc:date>
    </item>
    <item>
      <title>Betreff: Generate preview picture with script?</title>
      <link>https://community.graphisoft.com/t5/GDL/Generate-preview-picture-with-script/m-p/642343#M7238</link>
      <description>&lt;P&gt;How complex would that be to do as someone who never used&amp;nbsp;&lt;SPAN&gt;LP_XML_Converter?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 13:15:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Generate-preview-picture-with-script/m-p/642343#M7238</guid>
      <dc:creator>Domagoj Lukinic</dc:creator>
      <dc:date>2024-12-04T13:15:09Z</dc:date>
    </item>
    <item>
      <title>Betreff: Generate preview picture with script?</title>
      <link>https://community.graphisoft.com/t5/GDL/Generate-preview-picture-with-script/m-p/642344#M7239</link>
      <description>&lt;P&gt;I created the GDLnucleus tool for MAC OS , which can do that in a nearly automatic way, after you have made some settings. It is a python-script which works together with Visual Studio Code.&lt;BR /&gt;Some Information you can find here:&lt;BR /&gt;&lt;A href="https://www.b-prisma.de/anwender/gdlnucleus/" target="_blank"&gt;https://www.b-prisma.de/anwender/gdlnucleus/&lt;/A&gt;&lt;BR /&gt;The latest version has to be updated, befor you can use it.&lt;BR /&gt;The Windows Version was created by Frank Beister an it can do the same, it works with Sublime Text, but I do not know if it is up to date now.&lt;BR /&gt;&lt;A href="http://www.opengdl.org/Tools/Large-GDL-Object-Fission-Fusion" target="_blank"&gt;http://www.opengdl.org/Tools/Large-GDL-Object-Fission-Fusion&lt;/A&gt;&lt;BR /&gt;Both versions cost some money (MAC OS 25 Euro, WIN 50 Euro).&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 13:25:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Generate-preview-picture-with-script/m-p/642344#M7239</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2024-12-04T13:25:51Z</dc:date>
    </item>
  </channel>
</rss>

