GDL
About building parametric objects with GDL.
SOLVED!

GSM Decompiled to XML - Owner & Signature Fields

scottjm
Advisor

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

Scott J. Moore | Fulton Trotter Architects | BIM Manager, Associate, Architect
Since AC13 | Current versions AC23.7000 & AC26.5002 | BIMCloud Basic | Python, GDL, VBA, PHP, SQL, CSS
Certified Graphisoft BIM Manger (2022)
Win 10, i9-9900K, 32GB, Quadro P2200, 500GB NVMe
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Jochen Suehlo
Moderator

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

Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de

View solution in original post

5 REPLIES 5
Jochen Suehlo
Moderator

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.

Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
Solution
Jochen Suehlo
Moderator

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

Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
runxel
Legend

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.

Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
scottjm
Advisor

🤦‍♂️ 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!

Scott J. Moore | Fulton Trotter Architects | BIM Manager, Associate, Architect
Since AC13 | Current versions AC23.7000 & AC26.5002 | BIMCloud Basic | Python, GDL, VBA, PHP, SQL, CSS
Certified Graphisoft BIM Manger (2022)
Win 10, i9-9900K, 32GB, Quadro P2200, 500GB NVMe

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.

Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!