cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

GSM Decompiled to XML - Owner & Signature Fields

scottjm
Enthusiast

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

AC13 - AC23.7000 / AC26.4004
Python, GDL, VBA, PHP, SQL, CSS
Win 10, i9-9900K, 32GB, Quadro P2200, 500GB NVMe
1 ACCEPTED SOLUTION

Solution
Joachim Suehlo
Advisor

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

Joachim Suehlo . AC12-25 . MAC OSX 10.15 . WIN10

View solution in original post

5 REPLIES 5

Joachim Suehlo
Advisor

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.

Joachim Suehlo . AC12-25 . MAC OSX 10.15 . WIN10

Solution
Joachim Suehlo
Advisor

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

Joachim Suehlo . AC12-25 . MAC OSX 10.15 . WIN10

runxel
Ace

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.

AC 24 [ger] | Win 10 | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»

scottjm
Enthusiast

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

AC13 - AC23.7000 / AC26.4004
Python, GDL, VBA, PHP, SQL, CSS
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.

AC 24 [ger] | Win 10 | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!