<?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 Object auto-increment - GDL in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Object-auto-increment-GDL/m-p/702815#M52435</link>
    <description>&lt;P&gt;I want a GDL object that auto-increments its counter parameter each time a new instance is placed. What is the correct approach in current ArchiCAD GDL? LIBRARYGLOBAL is read-only (MVOptions), and OPEN requires an extension filter name I don't know.&lt;/P&gt;</description>
    <pubDate>Sat, 16 May 2026 22:50:55 GMT</pubDate>
    <dc:creator>archiEI</dc:creator>
    <dc:date>2026-05-16T22:50:55Z</dc:date>
    <item>
      <title>Object auto-increment - GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-auto-increment-GDL/m-p/702815#M52435</link>
      <description>&lt;P&gt;I want a GDL object that auto-increments its counter parameter each time a new instance is placed. What is the correct approach in current ArchiCAD GDL? LIBRARYGLOBAL is read-only (MVOptions), and OPEN requires an extension filter name I don't know.&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 22:50:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-auto-increment-GDL/m-p/702815#M52435</guid>
      <dc:creator>archiEI</dc:creator>
      <dc:date>2026-05-16T22:50:55Z</dc:date>
    </item>
    <item>
      <title>Betreff: Object auto-increment - GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-auto-increment-GDL/m-p/702839#M52436</link>
      <description>&lt;P&gt;That's not really possible, I think. Best chance might be to use the element ID (&lt;CODE&gt;GLOB_ID&lt;/CODE&gt;) for that plus the "increment ID after each placement" option in the work environment.&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 22:53:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-auto-increment-GDL/m-p/702839#M52436</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2026-05-16T22:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Object auto-increment - GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-auto-increment-GDL/m-p/702842#M52437</link>
      <description>&lt;P&gt;The only way I can think this would possibly work automatically is to read and write to an external text file.&lt;/P&gt;
&lt;P&gt;But this text file would have to be in the embedded folder of the library manager (I have never tried that)&lt;/P&gt;
&lt;P&gt;Having the text file in your user profile on the local hard drive (the usual default location for data files) is fine, but that will only work if you are using the file on that one machine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The element ID as runxel suggest is a good idea but you will have to manually watch this control the IDs via the element ID manager or through a schedule.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if you are looking to increment items within one object, like parking bay numbers, then this can be done (and has been already).&lt;/P&gt;
&lt;P&gt;Individual object do not talk to each other, so they have no way to know what incremental ID they should be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2026 01:35:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-auto-increment-GDL/m-p/702842#M52437</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2026-05-17T01:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Object auto-increment - GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-auto-increment-GDL/m-p/702846#M52439</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/7331"&gt;@Barry Kelly&lt;/a&gt;&amp;nbsp; schrieb:
&lt;P&gt;The element ID as runxel suggest is a good idea but you will have to manually watch this control the IDs via the element ID manager or through a schedule.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Not necessarily so. If you just use a number as element ID, which is easily controled in the info toolbar, and have enabled the aforementioned setting from the work environment, then after each placing the ID will increment automatically.&lt;/P&gt;
&lt;P&gt;You can then use that to – presumably – show the number on the plan, without the need of grabbing the element ID manager or other means.&lt;/P&gt;
&lt;P&gt;You can even save that ID into a new parameter and lock it, so that after the first placing the number would be fixed and you can change the element ID, if you want to.&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2026 10:40:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-auto-increment-GDL/m-p/702846#M52439</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2026-05-17T10:40:26Z</dc:date>
    </item>
  </channel>
</rss>

