<?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: Is there a way to quickly find the source code of a function in the standard library easily? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-quickly-find-the-source-code-of-a-function-in/m-p/373472#M940</link>
    <description>&lt;P&gt;You could decompile the whole Archicad standard library to xml (or hsf) files with the LP_XML Converter, and then just open the folder of all the decompiled objects in VSCode and search in there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On windows, if you open a command prompt window and run these two lines one after the other you will end up with the fully decompiled library at&amp;nbsp;C:\TEMP\26 LIBRARY XML&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;"C:\Program Files\GRAPHISOFT\Archicad 26\LP_XMLConverter.exe" extractpackage "C:\Program Files\GRAPHISOFT\Archicad 26\Archicad Library 26\Object Library 26.lcf" "C:\TEMP\26 LIBRARY GSM"

"C:\Program Files\GRAPHISOFT\Archicad 26\LP_XMLConverter.exe" l2x "C:\TEMP\26 LIBRARY GSM" "C:\TEMP\26 LIBRARY XML"&lt;/LI-CODE&gt;
&lt;P&gt;The first line unpacks the lcf of the standard library.&lt;/P&gt;
&lt;P&gt;The second line decompiles every gsm to an xml file.&lt;/P&gt;
&lt;P&gt;More info here:&amp;nbsp;&amp;nbsp;&lt;A href="https://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool" target="_blank"&gt;https://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2023 04:48:19 GMT</pubDate>
    <dc:creator>scottjm</dc:creator>
    <dc:date>2023-03-17T04:48:19Z</dc:date>
    <item>
      <title>Is there a way to quickly find the source code of a function in the standard library easily?</title>
      <link>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-quickly-find-the-source-code-of-a-function-in/m-p/373437#M937</link>
      <description>&lt;P&gt;Is there a way to quickly find the source code of a function in the standard library easily?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example&lt;BR /&gt;If you try to find wallblock2{2} at door 26&lt;BR /&gt;Open door26 with ctrl+shift+O, open the GDL called by call in the master script, search in the 2D script, and if not found, open the GDL called by call again, search again, and repeat this.&lt;BR /&gt;I would like to easily retrieve the source code from a standard library for a function like wallblock2{2}. Is there any other way?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 00:30:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-quickly-find-the-source-code-of-a-function-in/m-p/373437#M937</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-03-17T00:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to quickly find the source code of a function in the standard library easily?</title>
      <link>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-quickly-find-the-source-code-of-a-function-in/m-p/373439#M938</link>
      <description>&lt;P&gt;it is a GDL command.&lt;/P&gt;
&lt;P&gt;you do not have access to the source code, GDL is a higher language where source code of the built in functions are not available.&lt;/P&gt;
&lt;P&gt;the parameters and description are available in the GDL Manual&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AllanP_0-1679014837444.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/35183i41FB51C48B17B345/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AllanP_0-1679014837444.png" alt="AllanP_0-1679014837444.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gdl.graphisoft.com/reference-guide/doors-and-windows#WALLBLOCK22_gdlcommand" target="_blank"&gt;https://gdl.graphisoft.com/reference-guide/doors-and-windows#WALLBLOCK22_gdlcommand&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 01:06:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-quickly-find-the-source-code-of-a-function-in/m-p/373439#M938</guid>
      <dc:creator>AllanP</dc:creator>
      <dc:date>2023-03-17T01:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to quickly find the source code of a function in the standard library easily?</title>
      <link>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-quickly-find-the-source-code-of-a-function-in/m-p/373452#M939</link>
      <description>&lt;P&gt;The manual in English is too hard to understand.&lt;BR /&gt;So, it would be very helpful if there were sample codes, but the GDL manual doesn't have many example codes. So I have to go looking for it, but it's a very sad fact that I can't search in the source code even now in the AI era.&lt;/P&gt;
&lt;P&gt;I guess I should put it on the archicad wish list.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 02:11:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-quickly-find-the-source-code-of-a-function-in/m-p/373452#M939</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-03-17T02:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to quickly find the source code of a function in the standard library easily?</title>
      <link>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-quickly-find-the-source-code-of-a-function-in/m-p/373472#M940</link>
      <description>&lt;P&gt;You could decompile the whole Archicad standard library to xml (or hsf) files with the LP_XML Converter, and then just open the folder of all the decompiled objects in VSCode and search in there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On windows, if you open a command prompt window and run these two lines one after the other you will end up with the fully decompiled library at&amp;nbsp;C:\TEMP\26 LIBRARY XML&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;"C:\Program Files\GRAPHISOFT\Archicad 26\LP_XMLConverter.exe" extractpackage "C:\Program Files\GRAPHISOFT\Archicad 26\Archicad Library 26\Object Library 26.lcf" "C:\TEMP\26 LIBRARY GSM"

"C:\Program Files\GRAPHISOFT\Archicad 26\LP_XMLConverter.exe" l2x "C:\TEMP\26 LIBRARY GSM" "C:\TEMP\26 LIBRARY XML"&lt;/LI-CODE&gt;
&lt;P&gt;The first line unpacks the lcf of the standard library.&lt;/P&gt;
&lt;P&gt;The second line decompiles every gsm to an xml file.&lt;/P&gt;
&lt;P&gt;More info here:&amp;nbsp;&amp;nbsp;&lt;A href="https://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool" target="_blank"&gt;https://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 04:48:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-quickly-find-the-source-code-of-a-function-in/m-p/373472#M940</guid>
      <dc:creator>scottjm</dc:creator>
      <dc:date>2023-03-17T04:48:19Z</dc:date>
    </item>
  </channel>
</rss>

