<?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: Sequential Automated Numbering in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37397#M35813</link>
    <description>Dan,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the reply. I understand what Z.Bauer was saying but the part recives it's ID from a different parameter than the glob_id. What command do I use to create the auto increase? Thanks.&lt;BR /&gt;
&lt;BR /&gt;
Barry</description>
    <pubDate>Thu, 25 Aug 2005 02:47:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-08-25T02:47:07Z</dc:date>
    <item>
      <title>Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37393#M35809</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I want to add a script to the "Drawing Block Title-NCS" part that will increase the number by one each time I click to place the part. Any ideas? Thanks.&lt;BR /&gt;
&lt;BR /&gt;
Barry&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Aug 2005 19:25:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37393#M35809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-24T19:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37394#M35810</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;I want to add a script to the "Drawing Block Title-NCS" part that will increase the number by one each time I click to place the part. Any ideas? Thanks.&lt;BR /&gt;
&lt;BR /&gt;
Barry&lt;/BLOCKQUOTE&gt;

In this case GLOB_ID function can help you!</description>
      <pubDate>Wed, 24 Aug 2005 20:51:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37394#M35810</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-24T20:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37395#M35811</link>
      <description>I don't see how the glob_id would help here. The lettering/numbering is done by a parameter in the part. I want to be able to select the part and drop it multiple times and at the same time the part increases the number by one. Thanks.&lt;BR /&gt;
&lt;BR /&gt;
Barry Halloran</description>
      <pubDate>Wed, 24 Aug 2005 21:00:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37395#M35811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-24T21:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37396#M35812</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;I don't see how the glob_id would help here. The lettering/numbering is done by a parameter in the part. I want to be able to select the part and drop it multiple times and at the same time the part increases the number by one. Thanks.&lt;BR /&gt;
&lt;BR /&gt;
Barry Halloran&lt;/BLOCKQUOTE&gt;

Barry,&lt;BR /&gt;
Actually Z.Bauer was pointing you in the right direction. If your part displays its number by reading it from the glob_id (global variable) and if you have archicad set to auto increase id numbers by 1, then you can do exactly what you need.&lt;BR /&gt;
&lt;BR /&gt;
Dan K</description>
      <pubDate>Thu, 25 Aug 2005 01:34:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37396#M35812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-25T01:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37397#M35813</link>
      <description>Dan,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the reply. I understand what Z.Bauer was saying but the part recives it's ID from a different parameter than the glob_id. What command do I use to create the auto increase? Thanks.&lt;BR /&gt;
&lt;BR /&gt;
Barry</description>
      <pubDate>Thu, 25 Aug 2005 02:47:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37397#M35813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-25T02:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37398#M35814</link>
      <description>Because objects can't store any changed values of their parameters outside of the settings dialog (into the plan/project e.g. by using PARAMETERS), it is not easy to do it with anything else than the increasing GLOB_ID.&lt;BR /&gt;
&lt;BR /&gt;
But there are ways. Objects can't communicate between their instances, either. One working way would be "TEXT I/O"-Addon. Every object writes in a file its internal (!) (not GLOB_-) ID, beside your counting-number, which is unique for itself. The number to display will be increased after the last found in the file and will be saved into the file or will be read out of the file, if it's yet stored inside. But you have to move the datafile along with your PLN. In AC9 there's a statement you can add to an object, which declares files as part of the plan. In case of archiving these are added to the PLA. This is essential to keep the numbers 'alive'.&lt;BR /&gt;
&lt;BR /&gt;
Someone here did a communication between placed objects by using GLOB_USER_xx, but I don't see a way to do it here.</description>
      <pubDate>Thu, 25 Aug 2005 06:45:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37398#M35814</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-08-25T06:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37399#M35815</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;Dan,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the reply. I understand what Z.Bauer was saying but the part recives it's ID from a different parameter than the glob_id. What command do I use to create the auto increase? Thanks.&lt;BR /&gt;
&lt;BR /&gt;
Barry&lt;/BLOCKQUOTE&gt;

Barry,&lt;BR /&gt;
In your Preferences/Miscellaneous... make sure you have the "Auto ID Increase" box checked. In the Drawing Block Title-NCS object make sure the "Set Drawing ID in Info Box" is set to "ON"...go to the Listing and Labeling fly out and set the "ID:" to whatever number you wish to start with (you can even set this ID to a number and a letter if you wish). Now as you place the object, the ID will increase by one each time you place it.&lt;BR /&gt;
&lt;BR /&gt;
HTH,&lt;BR /&gt;
Dan K</description>
      <pubDate>Thu, 25 Aug 2005 12:13:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37399#M35815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-25T12:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37400#M35816</link>
      <description>Check "Auto ID Increase" status as Den suggest and look at my 3 screeshots. I think all will be clear without comments.</description>
      <pubDate>Thu, 25 Aug 2005 22:46:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37400#M35816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-25T22:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37401#M35817</link>
      <description>#2</description>
      <pubDate>Thu, 25 Aug 2005 22:48:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37401#M35817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-25T22:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37402#M35818</link>
      <description>#3</description>
      <pubDate>Thu, 25 Aug 2005 22:50:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37402#M35818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-25T22:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37403#M35819</link>
      <description>Oops there is a bug &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt; in my attached 2nd screenshot.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_redface.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
The ID's must be shown all the same!   &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_exclaim.gif" style="display : inline;" /&gt; &lt;BR /&gt;
That's was the purport!  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 26 Aug 2005 02:28:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37403#M35819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-26T02:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37404#M35820</link>
      <description>Hello Barry,&lt;BR /&gt;
&lt;BR /&gt;
I attach a tiny GSM that shows how to count inside an external text file. Be aware, that the object generates a new textfile each time you change the filename. Without a path it will be saved in archicad projet folder (or DATA-folder there).&lt;BR /&gt;
&lt;BR /&gt;
It's very tiny and has to be improved. There is no possibility for undo or get numbers in between.&lt;BR /&gt;
&lt;BR /&gt;
It's written in AC7 so the FILE_DEPENDECE-statement is there, but not activated, because it's not allowed up to AC9. I limited the counting to 999, but you can change to any value your HD allows.&lt;BR /&gt;
&lt;BR /&gt;
To identify the placed object and to assign it to the counter I use the GLOB_INTID, which is really unique. If you merge or copy these into another project file or use it inside a macro it will cause errors or wrong numbers I suppose.&lt;BR /&gt;
&lt;BR /&gt;
So candle with hair. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;</description>
      <pubDate>Fri, 26 Aug 2005 08:05:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37404#M35820</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-08-26T08:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37405#M35821</link>
      <description>Hello Barry,&lt;BR /&gt;
Hallo Frank,&lt;BR /&gt;
&lt;BR /&gt;
I have another version of "external counter".&lt;BR /&gt;
So what's difference between mine's and Frank's?&lt;BR /&gt;
&lt;BR /&gt;
Frank your script in general is well wrote, but in some cases AC9 hangs/crashes. I had not enough time to understand the problem!&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT size="117"&gt;&lt;BLOCKQUOTE&gt;"F. Beister" wrote:&lt;BR /&gt;&lt;BR /&gt;
 &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_arrow.gif" style="display : inline;" /&gt; ...object generates a new textfile each time you change the filename. Without a path it will be saved in archicad projet folder (or DATA-folder there).&lt;/BLOCKQUOTE&gt;&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
In my script if .txt file is not founded, then DIALOG appears where locate it. If you havn't created .txt file yet, then create new one (for example: "ProjectName+DBT_NCS Counter.txt") and open.&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT size="117"&gt;&lt;BLOCKQUOTE&gt;"F. Beister" wrote:&lt;BR /&gt;&lt;BR /&gt;
 &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_arrow.gif" style="display : inline;" /&gt; There is no possibility for undo or get numbers in between.&lt;/BLOCKQUOTE&gt;&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
With mine's you have possibility to start from that point that you wish, but for do that you must open *.txt file and edit it. It's not very agreeable, but at the moment I have no idea how others it can be done using GDL.&lt;BR /&gt;
I send you tomorrow "ReadMe.txt" file to explain how external file can/must be edited.&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT size="117"&gt;&lt;BLOCKQUOTE&gt;"F. Beister" wrote:&lt;BR /&gt;&lt;BR /&gt;
 &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_arrow.gif" style="display : inline;" /&gt; It's written in AC7&lt;/BLOCKQUOTE&gt;&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
I wrote in AC9 &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_exclaim.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT size="117"&gt;&lt;BLOCKQUOTE&gt;"F. Beister" wrote:&lt;BR /&gt;&lt;BR /&gt;
 &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_arrow.gif" style="display : inline;" /&gt; I limited the counting to 999, but you can change to any value your HD allows.&lt;/BLOCKQUOTE&gt;&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
I havn't added limitation, but maybe will add as uncommented script.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
P.S.: The counting script is already integrated in to "Drawing Block Title_NCS.gsm"</description>
      <pubDate>Sat, 27 Aug 2005 23:40:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37405#M35821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-27T23:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37406#M35822</link>
      <description>Maybe I misunderstood your solution and I have to admit, that I don't  have analyzed the "Drawing Block Title-NCS".&lt;BR /&gt;
&lt;BR /&gt;
My conclusion was that there are two ways to increase a counting number by placing an object:&lt;BR /&gt;
&lt;BR /&gt;
1. To use the global ID, which can to be used as an increasing numbering. This is built in and can be used with all elements, which can have an ID.&lt;BR /&gt;
&lt;BR /&gt;
2. To script an increasing counter inside the GDL. This was asked for a few times here and in other talks. This is, as I mentioned before not so easy, because the several occurances of objects inside a project can't communicate  in between to return the last, highest counter. For this you have to make the trick to do it outside the script and plan in a separate file.&lt;BR /&gt;
&lt;BR /&gt;
Why to use solution 2 instead of 1? Because some users use the GLOB_ID as an Identifier for elements. E.g. "App.01" to group several elements (mixed walls, objets etc.) together. In this case the misusage of the GLOB_ID is a limitation of the normal workflow.&lt;BR /&gt;
&lt;BR /&gt;
My object is a feasibility study. One can add a deleting of numbers, reset to a current value etc. as counting without limitation to it as you like without editing the txt-file. You know: It's GDL, all is possible. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
Easiest way is (1), counting by the auto increasing Identifier. But in the moment you want to increase letters (A,B,C...), or other steps (01,03,05...) or directions (10,9,8,...) you will have to make it this way. Wheras one could do this in GDL by using the GLOB_ID too. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Sun, 28 Aug 2005 10:26:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37406#M35822</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-08-28T10:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37407#M35823</link>
      <description>Hello Frank,&lt;BR /&gt;
&lt;BR /&gt;
I fully agree all what you say here. Ok, it's GDL, but not always is easy to script some wish, due to poor functions, globals, etc..&lt;BR /&gt;
I have developed DBT_NCS a little bit more today. And have written ReadMe.txt for editing external counter text file.&lt;BR /&gt;
Both files are ziped into one and attached here. But I would say that the object needs more development, because as you say and agree and have posted here as screenshots it's much more easier to use GLOB_ID as external file with GLOB_INTID. For example you wrote here about reset option, that my script hasn't, etc..&lt;BR /&gt;
My wish is to find any way to script file, that will work like PM with Sheet/Drawing numbers.</description>
      <pubDate>Mon, 29 Aug 2005 00:12:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37407#M35823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-29T00:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37408#M35824</link>
      <description>Maybe you guys should have a look at this:&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=2714&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;highlight=sorenumber&amp;amp;&amp;amp;start=0" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... r&amp;amp;&amp;amp;start=0"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=2714&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;highlight=sorenumber&amp;amp;&amp;amp;start=0&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
It's a little obj. making use of Data In/Out API......</description>
      <pubDate>Mon, 29 Aug 2005 02:28:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37408#M35824</guid>
      <dc:creator>LiHigh</dc:creator>
      <dc:date>2005-08-29T02:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Automated Numbering</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37409#M35825</link>
      <description>I should have used the search button. For shure, Oleg gave us an example yet. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; I will have a look on it. Thanks for the hint.</description>
      <pubDate>Mon, 29 Aug 2005 06:19:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sequential-Automated-Numbering/m-p/37409#M35825</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-08-29T06:19:08Z</dc:date>
    </item>
  </channel>
</rss>

