<?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 How to get a library path in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/How-to-get-a-library-path/m-p/650223#M7429</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to make a gdl script able to get me the l&lt;STRONG&gt;ibrary path of a used objet&lt;/STRONG&gt;&amp;nbsp;in a specific file.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I have some libraries on my bimcloud, some others on my computer or lan and it would be so long to check for each file wich of those libraries I used.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;So, if I could know wich variable I must request... The wonderful I-kwow-everything Chatgpt told me about a "&lt;STRONG&gt;libraryinfo&lt;/STRONG&gt; lib_name, lib_path" and then admited that "&lt;STRONG&gt;libraryinfo&lt;/STRONG&gt;" didn't even exist in gdl...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;So, is there a way to get a specific library path thru a gdl script ?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My brain and me thank you so much for trying to get me from madness.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GP&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Windows &lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2025 19:43:14 GMT</pubDate>
    <dc:creator>GP2025</dc:creator>
    <dc:date>2025-02-07T19:43:14Z</dc:date>
    <item>
      <title>How to get a library path</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-get-a-library-path/m-p/650223#M7429</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to make a gdl script able to get me the l&lt;STRONG&gt;ibrary path of a used objet&lt;/STRONG&gt;&amp;nbsp;in a specific file.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I have some libraries on my bimcloud, some others on my computer or lan and it would be so long to check for each file wich of those libraries I used.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;So, if I could know wich variable I must request... The wonderful I-kwow-everything Chatgpt told me about a "&lt;STRONG&gt;libraryinfo&lt;/STRONG&gt; lib_name, lib_path" and then admited that "&lt;STRONG&gt;libraryinfo&lt;/STRONG&gt;" didn't even exist in gdl...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;So, is there a way to get a specific library path thru a gdl script ?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My brain and me thank you so much for trying to get me from madness.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GP&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Windows &lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 19:43:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-get-a-library-path/m-p/650223#M7429</guid>
      <dc:creator>GP2025</dc:creator>
      <dc:date>2025-02-07T19:43:14Z</dc:date>
    </item>
    <item>
      <title>Betreff: How to get a library path</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-get-a-library-path/m-p/650274#M7430</link>
      <description>&lt;P&gt;You can only get the name, but not the path – at least I'm not aware of any way to acquire this information.&lt;/P&gt;
&lt;P&gt;But may I ask what you want to achieve here? Why would you need the path?&lt;/P&gt;
&lt;P&gt;For historical reasons GDL works on a string basis regarding the loaded objects.&lt;/P&gt;
&lt;P&gt;Meaning: If you now happen to load two libraries (and the internal library is included in this equation) and there are two or more elemens (actually &lt;EM&gt;any&lt;/EM&gt; file type, not only .gsm) sharing the same name, then you'll get the "duplicated loaded elements" warning in the library manager.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="runxel_0-1738618940471.png" style="width: 272px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/82731i6A91F4B11409CED3/image-dimensions/272x32?v=v2" width="272" height="32" role="button" title="runxel_0-1738618940471.png" alt="runxel_0-1738618940471.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In that list you see all your duplicates – with the path &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a caveat now: While Archicad still might seem to work flawless, only one of these duplicates will actually be loaded and available in both the object (or other related) tool, and as a macro for other objects to call (macro calls are string based, too).&lt;/P&gt;
&lt;P&gt;Archicad &lt;STRONG&gt;&lt;EM&gt;will load&lt;/EM&gt;&lt;/STRONG&gt; the first object it encounters, be it unique or not. However: You can not foresee which (it kinda depends on the loading order) that will be.&lt;/P&gt;
&lt;P&gt;The rest will be skipped. There is no way to enforce a loading order either (to my best knowledge).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So after all it does not seem to really matter in your case – or maybe I misunderstood you there.&lt;/P&gt;
&lt;P&gt;If you want to consolidate your library just download your BIMCloud libraries, put all stuff in one folder; your Explorer/Finder will tell you what is duplicate. Then add the folder to an AC file in the library manager which you then share on the BIMCloud.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 21:51:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-get-a-library-path/m-p/650274#M7430</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2025-02-03T21:51:03Z</dc:date>
    </item>
    <item>
      <title>Betreff: How to get a library path</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-get-a-library-path/m-p/650315#M7431</link>
      <description>&lt;P&gt;Hi Runxel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for such a detailed answer. Despite of the deception, I would'nt waste time trying to do an impossible thing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have older files here, done by some who left us for new horizons, and I thought I'd would be easier to apply a gdl script telling us where are the used libraries. I'd put a warning if they are not in the right place (local rather than bim for example).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, thanks again for your advices and clear explainations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 08:30:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-get-a-library-path/m-p/650315#M7431</guid>
      <dc:creator>GP2025</dc:creator>
      <dc:date>2025-02-04T08:30:01Z</dc:date>
    </item>
    <item>
      <title>Betreff: How to get a library path</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-get-a-library-path/m-p/650473#M7432</link>
      <description>&lt;P&gt;The Library Manager will tell you the path of loaded libraries.&lt;/P&gt;
&lt;P&gt;Even when the library is missing it will tell you where it is trying to find it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 02:49:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-get-a-library-path/m-p/650473#M7432</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2025-02-05T02:49:39Z</dc:date>
    </item>
  </channel>
</rss>

