<?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: How to reindex attributes (best practice) in Project data &amp; BIM</title>
    <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/668868#M14710</link>
    <description>&lt;P&gt;There are two other things I can think of that can be affected by attribute reindexing:&lt;/P&gt;
&lt;P&gt;1. Default settings in tool settings dialogs - this is not that much of a problem because you can just apply Favorites after the reindexing and the tool default settings will be the same as the settings of one of the favorites.&lt;/P&gt;
&lt;P&gt;2. Library Parts default attribute settings - Library Parts in the default Archicad Library refer to many attributes (like Pen 19 or Pen 91 for fill backgrounds), so just make sure that reindexing does not change the index number of all those attributes, otherwise the 2D and 3D representation of many Library parts can get messy.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jul 2025 19:01:59 GMT</pubDate>
    <dc:creator>Laszlo Nagy</dc:creator>
    <dc:date>2025-07-07T19:01:59Z</dc:date>
    <item>
      <title>How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/668629#M14705</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm about to work on a new template file, essentially by decimating/simpifying an old one (and later growing it).&lt;/P&gt;
&lt;P&gt;My problem is that i can remove attributes that I don't need but cannot reindex so that there shouldn't be any gaps between them.&lt;/P&gt;
&lt;P&gt;If i reindex them using the Attribute Manager (&amp;gt; Append to temp/Delete all/&amp;lt; Add by index) then the inedexes will be OK but the relations between the attributes will be lost (like a composite will reference a bad fill etc; not mentioning the Favorites).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a method with I can reindex while not loosing the references?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 13:17:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/668629#M14705</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2025-07-04T13:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/668646#M14706</link>
      <description>&lt;P&gt;I think if you use the &lt;STRONG&gt;Reindex&lt;/STRONG&gt; button in the Attribute Manager Dialog, Archicad makes sure that all references will point to the new index number. However, you will have to do it one by one.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 20:19:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/668646#M14706</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2025-07-04T20:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/668666#M14707</link>
      <description>&lt;P&gt;And just be careful, as your re-indexed template will no longer be compatible with any of your old files.&lt;/P&gt;
&lt;P&gt;So no more copy &amp;amp; paste from other files unless they are also based on your new template.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 09:21:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/668666#M14707</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2025-07-05T09:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/668800#M14709</link>
      <description>&lt;P&gt;Thanks for both,&lt;/P&gt;
&lt;P&gt;I consider exporting both attributes and favorites into .xml and writing a script to replace stuff according to a mapping.&lt;/P&gt;
&lt;P&gt;I did this mapping (given in an .xls, btw) before for modifying ArchiCAD Library's default parameters, so should apply for attributes and favorites, too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS this reindexing is ultimately the most brainrotting thing I've done this year. After reindexing 20 layers I have unintentionally pushed the purge button in the vicinity and had to do the whole from the start &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 09:04:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/668800#M14709</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2025-07-07T09:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/668868#M14710</link>
      <description>&lt;P&gt;There are two other things I can think of that can be affected by attribute reindexing:&lt;/P&gt;
&lt;P&gt;1. Default settings in tool settings dialogs - this is not that much of a problem because you can just apply Favorites after the reindexing and the tool default settings will be the same as the settings of one of the favorites.&lt;/P&gt;
&lt;P&gt;2. Library Parts default attribute settings - Library Parts in the default Archicad Library refer to many attributes (like Pen 19 or Pen 91 for fill backgrounds), so just make sure that reindexing does not change the index number of all those attributes, otherwise the 2D and 3D representation of many Library parts can get messy.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 19:01:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/668868#M14710</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2025-07-07T19:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669621#M14742</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Default tool settings is not that much a problem because of the limited number of the tools themselves.&lt;/P&gt;
&lt;P&gt;2. I have nice gdl/xml lib for parameter mods that i had developed for myself when I was a small kid, so that's not that much a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I have run into a peculiarity:&lt;BR /&gt;The attribute .xml that is exported by the Attribute Manager etc. has a structure like&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="no" ?&amp;gt;
&amp;lt;AttributeFile&amp;gt;
  &amp;lt;RegisteredAttributes&amp;gt;
...
    &amp;lt;Attributes Type="Surfaces"&amp;gt;
      &amp;lt;RefID&amp;gt;1296127026&amp;lt;/RefID&amp;gt;
    &amp;lt;Attributes&amp;gt;
...
  &amp;lt;/RegisteredAttributes&amp;gt;
...
&amp;lt;/AttributeFile&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And this RefID is consequent within that .xml file, so folder structure can be linked to the attributes (which folder structure belongs to which attribute).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BUT:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is the favorites xml, having its own structure, and there:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="no" ?&amp;gt;
&amp;lt;Favorites&amp;gt;
  &amp;lt;AttrTable&amp;gt;
...
    &amp;lt;Item&amp;gt;
      &amp;lt;Name&amp;gt;AA.00 - Solid Line&amp;lt;/Name&amp;gt;
      &amp;lt;Index&amp;gt;1&amp;lt;/Index&amp;gt;
      &amp;lt;RefId&amp;gt;1296127026&amp;lt;/RefId&amp;gt;
    &amp;lt;/Item&amp;gt;
...
  &amp;lt;/AttrTable&amp;gt;
...
&amp;lt;/Favorites&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;and, tadam, the two RefID seem not to be "compatible", that is there are RefIDs that mach one another between the two .xmls, but are not for the same attribute type, others just don't match.&lt;/P&gt;
&lt;P&gt;Note that i copied the RefIDs from the actual data, and in the attribute xml the same RefID identifies the surfaces as in the favorite xml the lines.&lt;/P&gt;
&lt;P&gt;This is such a strange behaviour, one has to match an attribute from the favorites to the attribute file manually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have no idea why is strange behaviour there.&lt;/P&gt;
&lt;P&gt;Any idea?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 14:02:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669621#M14742</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2025-07-14T14:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669642#M14743</link>
      <description>&lt;P&gt;I have no real idea as I have never gotten into editing XML file - there should be no need.&lt;/P&gt;
&lt;P&gt;The index and reference for the favourite will be for that particular favourite, not the settings in that favourite.&lt;/P&gt;
&lt;P&gt;The surface is just one setting inside the favourite.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you re-index the index numbers in the Attribute Manager, then all of your favourites should also be updated automatically to use those changed index numbers.&lt;/P&gt;
&lt;P&gt;Everything should update to use that new index number, but keeping the actual attribute exactly the same.&lt;/P&gt;
&lt;P&gt;For example, if you re-index a 'brick' surface material, then every composite, complex profile, favourite, etc., that uses that surface material, will still be using the same brick surface material.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 00:59:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669642#M14743</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2025-07-15T00:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669667#M14744</link>
      <description>&lt;P&gt;I understand that, but reindexing, like, 1000 attributes is a bit mind-rotting for me, but if I tinker a script together for this this will be automated for the forseeable future. So this is the preferred way.&lt;/P&gt;
&lt;P&gt;Now we don't use too many favorites, so the favorite reindexing is a nice to have but if I'm already here (I actually wanted to pass this job to a junior programmer/mentoree but this didn't happen) I have to understand this.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 07:32:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669667#M14744</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2025-07-15T07:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669671#M14745</link>
      <description>&lt;P&gt;Favourites are not part of the attributes.&lt;/P&gt;
&lt;P&gt;They just save settings for various elements that do use the attributes.&lt;/P&gt;
&lt;P&gt;You shouldn't have to do anything with favourites.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Re-index your attributes and the favourites should sort themselves out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am just worried that amending an XML file and importing it is not he same as re-indexing.&lt;/P&gt;
&lt;P&gt;Re-indexing will ensure everything that was attribute number 1 will become attribute number 2 (including anything in favourites that uses that attribute.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Amending an XML file and importing it is just creating a new attribute number 2.&lt;/P&gt;
&lt;P&gt;It is not instructing Archicad to swap attribute one for attribute 2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 08:15:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669671#M14745</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2025-07-15T08:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669674#M14746</link>
      <description>&lt;P&gt;ReDEFINING vs reASSIGNING. For science?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 08:13:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669674#M14746</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2025-07-15T08:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669691#M14747</link>
      <description>&lt;P&gt;Absolutely,&lt;/P&gt;
&lt;P&gt;so I purge out the whole (template) project file, having only one attribute per type (only the ArchiCAD layer etc) and build up everything from scratch, manually maintaining/reproducing everything that ArhchiCAD does normally (including the favorites, graphic overrides, etc).&lt;/P&gt;
&lt;P&gt;Painful at once but saves repetitive work for later times.&lt;/P&gt;
&lt;P&gt;Yes, it would be better to write a C++ addon but that would take more time (not mentioning following ArchiCAD's version changes).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Oct 2025 20:56:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669691#M14747</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2025-10-18T20:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669692#M14748</link>
      <description>&lt;P&gt;Reindexing means pressing the Reindex... button (many-many times).&lt;/P&gt;
&lt;P&gt;I guess in Your approach it is a reassigning, and I do a redefining instead.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 10:00:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669692#M14748</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2025-07-15T10:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669697#M14749</link>
      <description>&lt;P&gt;If you are creating a brand new template from scratch where you don't want it to be (copy &amp;amp; paste) compatible with any other file, then I guess it does not matter how you create your attributes.&lt;/P&gt;
&lt;P&gt;Create them one by one and they will increment in the attribute number (assuming you one attribute is set as number one).&lt;/P&gt;
&lt;P&gt;Or create XML files that can create the attributes for you (I have never played with this, so I am unsure how that will go).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally I would use the default template as a base.&lt;/P&gt;
&lt;P&gt;Create one attribute of each type and re-index it so the attribute number is much ( a few hundred or 1000) higher.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Delete the attributes you don't need or maybe re-name them to suit your needs better - but keep the attribute numbers the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any new attributes you create, they should create with a number higher than the highest number.&lt;/P&gt;
&lt;P&gt;When you think you have it sorted (you will always want to make future changes), create another new higher number attribute.&lt;/P&gt;
&lt;P&gt;So you have a space to create new attributes later.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now you have your template set up and it will still work with the default library objects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In future when you are working on a project and you create a new attribute, it will get the next highest number.&lt;/P&gt;
&lt;P&gt;If it is an attribute you want to have in your template, you can copy it into your template and re-index it so it has a number lower that net highest number attribute you created.&lt;/P&gt;
&lt;P&gt;This is important because in every job you work on, any new attributes you create will have a number higher than the previous highest number.&lt;/P&gt;
&lt;P&gt;So. in two different jobs you create a new brick surface in one and a new glass surface in the other.&lt;/P&gt;
&lt;P&gt;They will actually create with the same attribute number in each file.&lt;/P&gt;
&lt;P&gt;This is not good if you want to share information between files.&lt;/P&gt;
&lt;P&gt;This is why you copy the attributes to your template and re-index the number to be lower than the highest number.&lt;/P&gt;
&lt;P&gt;That way they can never be accidentally replace with the wrong attribute.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You always keep your template up to date.&lt;/P&gt;
&lt;P&gt;Now you can import the attributes from your template into any job you have and you will get all the new&amp;nbsp; template attributes without affecting any custom attributes that have been created in that project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are basically creating a buffer for your attributes that you have complete control over (although it is a very manual task).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope I explained that well and have not totally confused you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 10:25:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669697#M14749</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2025-07-15T10:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669714#M14750</link>
      <description>&lt;P&gt;Thanks for Your insight, I have some differences in our workflow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically I started from an overcomplex template (that I had inherited) having, like 750 layers etc, and my primary goal is to decimate it. So I went through our projects and collected the used attributes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I manually purged every project&lt;/LI&gt;
&lt;LI&gt;Then wrote a (Python) script that collects only the used attributes (puts them into a .json file).&amp;nbsp;&lt;BR /&gt;(I took the opportunity to get familiarized in the AC Python API).&lt;/LI&gt;
&lt;LI&gt;Then I took the too complex template and removed attributes that weren't among the used ones.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This way I got a template file decimated but with many holes among the indexes.&lt;/P&gt;
&lt;P&gt;Then I made some manual adjustments (merging/renaming layers, adding some new one etc), this way I made the final structure, but still having a messy index structure.&lt;/P&gt;
&lt;P&gt;Then I exported all attributes to an xml, reindexed them with the script, and reimported into the completely purged template. This way&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I have the attribute structure as I wanted&lt;/LI&gt;
&lt;LI&gt;The favorites aren't used by our architects, so its not a big problem that for now I cannot reindex them but later I want to do it&lt;/LI&gt;
&lt;LI&gt;As a side effect, I got a (not so short) list of missing attributes that were removed manually before and forgotten&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Now my tasks are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Reindexing the favorites&lt;/LI&gt;
&lt;LI&gt;Reindexing the graphical overriding styles, if possible&lt;/LI&gt;
&lt;LI&gt;I have a tool that reindexes the ArchiCAD library for the attributes we use (to avoid, like, windows having a concrete or wooden glazing) and i have to export my data for that tool&lt;BR /&gt;(This issue is kind of solved in the ArchiCAD 28, but in a wrong way. My approach bases on that, like every attrib (like, surface) is mapped from one value to another (like, 10 -&amp;gt; 25), everything that was, like 10 (let's suppose that this is the ArchiCAD factory glass material) becomes 25 (suppose that this is my material).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;all in all, i have such a customized system &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 12:27:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/669714#M14750</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2025-07-15T12:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/680230#M15049</link>
      <description>&lt;P&gt;I Found interestig your concept as it has some things in common with what I'm trying to do .. my post is here in case you want to have a look at it ...&amp;nbsp;&lt;LI-MESSAGE title="Attribute Concept for an Archicad Practice Template" uid="677244" url="https://community.graphisoft.com/t5/Project-data-BIM/Attribute-Concept-for-an-Archicad-Practice-Template/m-p/677244#U677244" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;.&lt;BR /&gt;&lt;BR /&gt;I've been trying to edit the XML files with scripts but could not manage to get them work again, if you have some detailed tricks I would be happy to know them.&lt;BR /&gt;&lt;BR /&gt;To solve the problem with the missing attributes it'S always possible to correct them creating an attribute with the missing index-Nr. and afterwards deleting it and replacing it with another. This way will be relinked except for Layer-Combinations, Pen-Sets and sometimes also lines.&lt;BR /&gt;&lt;BR /&gt;I modified the Library-Mapping values lately and for our solution worked well.&lt;BR /&gt;&lt;BR /&gt;Gabriel&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 11:28:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/680230#M15049</guid>
      <dc:creator>GabrielGG</dc:creator>
      <dc:date>2025-10-16T11:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/680528#M15054</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I haven't been dealing with this for a while, but in general this is an attribute .xml skeleton. It has some internal logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="no" ?&amp;gt;
&amp;lt;AttributeFile Mv="1" Sv="2"&amp;gt;
	&amp;lt;PlatformSign&amp;gt;22359&amp;lt;/PlatformSign&amp;gt;
	&amp;lt;RegisteredAttributes&amp;gt;
		&amp;lt;NumberOfRegisteredAttributes&amp;gt;1&amp;lt;/NumberOfRegisteredAttributes&amp;gt;
		&amp;lt;Attributes Type="Layers"&amp;gt;
			&amp;lt;RefID&amp;gt;1279351090&amp;lt;/RefID&amp;gt;
			&amp;lt;Layer Idx="1" Name="Archicad Layer"&amp;gt;
				&amp;lt;OdbObj Mv="2" Sv="0"&amp;gt;
					&amp;lt;OdbRef&amp;gt;
						&amp;lt;guid&amp;gt;D02A8E4D-93C2-4AB5-BBDF-7D6492907D59&amp;lt;/guid&amp;gt;
					&amp;lt;/OdbRef&amp;gt;
					&amp;lt;CreaTime&amp;gt;25542&amp;lt;/CreaTime&amp;gt;
					&amp;lt;ModiTime&amp;gt;25542&amp;lt;/ModiTime&amp;gt;
				&amp;lt;/OdbObj&amp;gt;
				&amp;lt;Name&amp;gt;Archicad Layer&amp;lt;/Name&amp;gt;
				&amp;lt;Index&amp;gt;1&amp;lt;/Index&amp;gt;
				&amp;lt;Flags/&amp;gt;
				&amp;lt;ModiTime&amp;gt;1164398284&amp;lt;/ModiTime&amp;gt;
				&amp;lt;RegMemoTable MemoNumber="0" Mv="1" Sv="0"/&amp;gt;
				&amp;lt;ReadOnly&amp;gt;false&amp;lt;/ReadOnly&amp;gt;
				&amp;lt;ConnectionClassId&amp;gt;1&amp;lt;/ConnectionClassId&amp;gt;
			&amp;lt;/Layer&amp;gt;
		&amp;lt;/Attributes&amp;gt;
	&amp;lt;/RegisteredAttributes&amp;gt;
	&amp;lt;Folders&amp;gt;
	&amp;lt;/Folders&amp;gt;
&amp;lt;/AttributeFile&amp;gt;
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Some basic stuff:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;At first, folders can be left out. If the xml importing works without &amp;lt;Folders&amp;gt;, one can start editing it.&lt;/LI&gt;
&lt;LI&gt;&amp;lt;NumberOfRegisteredAttributes&amp;gt; must be equal to the number of the&amp;nbsp;&amp;lt;Attributes&amp;gt; (Here 1, "Layers").&lt;/LI&gt;
&lt;LI&gt;&amp;lt;Layer Idx="1" Name="Archicad Layer"&amp;gt; - here, value of &lt;EM&gt;Idx&lt;/EM&gt; must be equal to the value of&amp;nbsp;&amp;lt;Index&amp;gt; and value of Name must be the same as value of &amp;lt;Name&amp;gt;.&lt;/LI&gt;
&lt;LI&gt;&amp;lt;OdbRef&amp;gt;/&amp;lt;guid&amp;gt; must be unique.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as i remember these are the rules that are needed for reading a syitactically correct attribute .xml.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the usual problem of indexes of parameters Archicad Generic Library's objects, I wrote another program in python that could be fed by an .xlsx spreadsheet describing conversion rules. The sheets describe various parameter types, like Pens and Surfaces, Strings etc, and a rule is used if&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;a parameter's name&lt;/LI&gt;
&lt;LI&gt;a parameter's value&lt;/LI&gt;
&lt;LI&gt;or an object's name&lt;/LI&gt;
&lt;LI&gt;or any combination of the three above were met, then set the parameter to a new value.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So using this You can say to the script that&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;change every Pen 12 to 14&lt;/LI&gt;
&lt;LI&gt;change every LineType parameter of the object "Door 27" to 5 thus the "Door 27" will be drawn all by the LineType 5 by default&lt;/LI&gt;
&lt;LI&gt;change every "gs_trim_inside" to 0 thus switching Casing Inside off&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The AC28 changed this but Graphisoft managed to create another overcomplicated system, so I modified this script to create the .json the same way.&lt;/P&gt;
&lt;P&gt;I'm considering developing this program into a paying solution and market it later.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However this last modification was left in the company I've been laid off, so in a case of a new need i have to rewrite this.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Oct 2025 20:51:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/680528#M15054</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2025-10-18T20:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to reindex attributes (best practice)</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/680581#M15056</link>
      <description>&lt;P&gt;(I think I forgot to make my prevous post as a reply so this is only for seeing it)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See my answer down below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VV&lt;/P&gt;</description>
      <pubDate>Sun, 19 Oct 2025 19:58:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/How-to-reindex-attributes-best-practice/m-p/680581#M15056</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2025-10-19T19:58:46Z</dc:date>
    </item>
  </channel>
</rss>

