We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2022-09-14 07:22 AM - last edited on 2024-09-24 10:29 AM by Doreena Deng
Hi Guys,
I am deep into the world of the LPXML_Converter messing around with modifying the source xml's of Archicad objects.
In the root xml node there are two attributes called Owner & Signature with cryptic numbers.
I believe these are related to the object Subtype, but just wondering if anyone knows where these numbers are inherited from. See below example from Blender 26, which is a Kitchen Appliance Subtype.
<Symbol IsArchivable="true" IsPlaceable="true" MainGUID="B9DD4689-40A7-4F0D-82A4-BC4B099E3C96" MigrationValue="Normal" Owner="1196638531" Signature="1196644685" Version="44">
I'm hoping to be able to iterate through a library of decompiled object, but only modify ones that belong to a certain subtype.
Thanks in advance!
Scott
Solved! Go to Solution.
2022-09-14 12:53 PM
Additionally I found out that the Ancestry Tree shows the hierarchical order of the subtypes:
<Ancestry SectVersion="1" SectionFlags="0" SubIdent="0" Template="false">
<MainGUID>F938E33A-329D-4A36-BE3E-85E126820996</MainGUID>
<MainGUID>B176ABF1-5813-478F-926B-28EE7C5DC1F7</MainGUID>
<MainGUID>4FD10D67-2F29-4844-A65A-6597589B0CB5</MainGUID>
<MainGUID>BDB8C3EE-4019-46C8-91D0-7A8DE0A5EC6D</MainGUID>
</Ancestry>
This example shows the subtype hierarchy from top to bottom:
- General GDL Object
- Documentation Element
- Drawing Symbol
- Label
2022-09-14 10:46 AM
In my opinion, owner and signature have nothing to do with subtype.
You can check the GUID of the subtype when you open the GDL-object and go to "Subtype Hierarchy".
There the first part of the subtype GUID is identical with the last MainGUID in the Ancestry Tree in the XML file.
2022-09-14 12:53 PM
Additionally I found out that the Ancestry Tree shows the hierarchical order of the subtypes:
<Ancestry SectVersion="1" SectionFlags="0" SubIdent="0" Template="false">
<MainGUID>F938E33A-329D-4A36-BE3E-85E126820996</MainGUID>
<MainGUID>B176ABF1-5813-478F-926B-28EE7C5DC1F7</MainGUID>
<MainGUID>4FD10D67-2F29-4844-A65A-6597589B0CB5</MainGUID>
<MainGUID>BDB8C3EE-4019-46C8-91D0-7A8DE0A5EC6D</MainGUID>
</Ancestry>
This example shows the subtype hierarchy from top to bottom:
- General GDL Object
- Documentation Element
- Drawing Symbol
- Label
2022-09-14 02:09 PM
I have wondered, too. But "owner" and "signature" both seem to be always the same. So in my opinion we can safely ignore those values for now.
What you actually need is inside the "ancestry.xml".
In there are the GUIDs from the subtypes stored one by one in its tree order. You can see that visually in the GDL object editor where you set the subtype.
2022-09-15 10:25 AM
🤦♂️ So obvious!
I did analyse all of the owner and signature values for the Archicad object library, and it did seem to change for things like Doors, Windows, Lamps, Labels etc, but there were other random ones too, so no idea how they get defined. Oh well - another Archicad mystery.
Thank you both!
2022-09-15 04:35 PM
Ah, well, one educated guess would be that the "owner" is associated to the tool? Still leaves me with no clue what the signature means.