<?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 Automate LP_XMLConverter with Python in Archicad Python API</title>
    <link>https://community.graphisoft.com/t5/Archicad-Python-API/Automate-LP-XMLConverter-with-Python/m-p/401215#M905</link>
    <description>&lt;DIV class="lia-note-header"&gt;
&lt;DIV class="lia-note-author lia-component-author"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-note-content"&gt;
&lt;DIV class="lia-note-body-container lia-component-body"&gt;
&lt;DIV id="notebodydisplay_81" class="lia-note-body"&gt;
&lt;P&gt;Hi everybody!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I discovered the LP_XMLConverter (&lt;A href="https://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool" target="_blank" rel="nofollow noopener noreferrer"&gt;https://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool&lt;/A&gt;) and used it for my coding need (extract images, coding in VStudio Code, modifying and compile multiple object at the same time...).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use it with a terminal as required, typing some command, but I was thinking of creating a python script with an interface to help me&amp;nbsp; to use it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone ever done something similar?&lt;BR /&gt;I'm quite a beginner to python (and in coding in general), and I'm not sure where to look/if it is possible.&lt;/P&gt;
&lt;P&gt;If I understand correctly, the subject/difficulty would be to be able to pass commands to the executable file as you would with the command prompt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 26 Sep 2024 10:18:26 GMT</pubDate>
    <dc:creator>Mathias Jonathan</dc:creator>
    <dc:date>2024-09-26T10:18:26Z</dc:date>
    <item>
      <title>Automate LP_XMLConverter with Python</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Automate-LP-XMLConverter-with-Python/m-p/401215#M905</link>
      <description>&lt;DIV class="lia-note-header"&gt;
&lt;DIV class="lia-note-author lia-component-author"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-note-content"&gt;
&lt;DIV class="lia-note-body-container lia-component-body"&gt;
&lt;DIV id="notebodydisplay_81" class="lia-note-body"&gt;
&lt;P&gt;Hi everybody!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I discovered the LP_XMLConverter (&lt;A href="https://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool" target="_blank" rel="nofollow noopener noreferrer"&gt;https://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool&lt;/A&gt;) and used it for my coding need (extract images, coding in VStudio Code, modifying and compile multiple object at the same time...).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use it with a terminal as required, typing some command, but I was thinking of creating a python script with an interface to help me&amp;nbsp; to use it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone ever done something similar?&lt;BR /&gt;I'm quite a beginner to python (and in coding in general), and I'm not sure where to look/if it is possible.&lt;/P&gt;
&lt;P&gt;If I understand correctly, the subject/difficulty would be to be able to pass commands to the executable file as you would with the command prompt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Sep 2024 10:18:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Automate-LP-XMLConverter-with-Python/m-p/401215#M905</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2024-09-26T10:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Automate LP_XMLConverter with Python</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Automate-LP-XMLConverter-with-Python/m-p/401228#M906</link>
      <description>&lt;P&gt;Hi Mathias,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think a good start is the Python module called &lt;A href="https://docs.python.org/3/library/subprocess.html" target="_self"&gt;subprocess&lt;/A&gt; to pass the commands.&lt;/P&gt;
&lt;P&gt;An &lt;A href="https://automatetheboringstuff.com/2e/chapter17/#:~:text=launching%20other%20programs%20from%20python" target="_self"&gt; this chapter in "Automate the boring stuff with Python"&lt;/A&gt; (Paragraph titled: &lt;STRONG&gt;&lt;EM&gt;Launching Other Programs from Python&lt;/EM&gt;&lt;/STRONG&gt;) should give a nice introduction to it.&lt;BR /&gt;&lt;BR /&gt;Bernd&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 12:52:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Automate-LP-XMLConverter-with-Python/m-p/401228#M906</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2023-10-06T12:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Automate LP_XMLConverter with Python</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Automate-LP-XMLConverter-with-Python/m-p/401229#M907</link>
      <description>&lt;P&gt;Something similar I did with gdlnucleus for MAC:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gdlnucleus.com/" target="_blank"&gt;https://gdlnucleus.com/&lt;/A&gt;&lt;BR /&gt;The first version for Sublime text is for free download (older Python version), the VSC-version costs 25,- Euro.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 12:53:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Automate-LP-XMLConverter-with-Python/m-p/401229#M907</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2023-10-06T12:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Automate LP_XMLConverter with Python</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Automate-LP-XMLConverter-with-Python/m-p/571446#M910</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might want to take a look at the Builder class from this file from runxel sublime text addon:&amp;nbsp;&lt;A href="https://github.com/runxel/GDL-sublime/blob/master/GDL.py" target="_blank"&gt;https://github.com/runxel/GDL-sublime/blob/master/GDL.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another thing worth mentioning is that the Library Dev Kit available on the Graphisoft Developer website has the documentation for the LP XML tool with some additional information that can be useful when doing this kind of stuff (eg, it tells you the char limit of the password field when encrypting the gsm).&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 21:18:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Automate-LP-XMLConverter-with-Python/m-p/571446#M910</guid>
      <dc:creator>gustavorochakv</dc:creator>
      <dc:date>2023-10-18T21:18:50Z</dc:date>
    </item>
  </channel>
</rss>

