GDL
About building parametric objects with GDL.

LP_XMLConverter ‘-compatibility’ argument

scottjm
Advisor

So I’ve been diving deep into the LP_XMLConverter. A great tool! 

There is a -compatibility argument that you can pass an archicad version to the tool. However it only allows this argument to be used when decompiling gsm’s to xml/hsf. 

How can I instead compile a gsm for a specific Archicad version? It always creates it for the version of Archicad that I am running the LPXML converter from. 

My goal is to be able to decompile for example an ac25 created gsm, make some edits to the xml, and then recompile back to ac25 again to maintain compatibility. 


Thanks,

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
2 REPLIES 2
Jochen Suehlo
Moderator

See this thread: https://community.graphisoft.com/t5/GDL/Saving-library-parts-under-previous-version/m-p/659455#M7612
Yes, the LP_XML_Converter only seems to be able to work with the gsm files the same version as the converter if you are converting back from xml to gsm.
But if you convert from gsm to xml, you can use e.g. Converter 28 to convert files from AC 27 and downgrade them to 25. But to get the 25gsm file from the 25 xml file, you need to use the AC25 converter.


@scottjm  schrieb:

My goal is to be able to decompile for example an ac25 created gsm, make some edits to the xml, and then recompile back to ac25 again to maintain compatibility. 

 


Yes, but this is possible: you can use for both conversions the LP_XML_Converter 25.

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

Hi Jochen,

 

Looks like you’ve already gone deep down this rabbit hole. 

This is what I feared that you need the specific version of Archicad LP_XMLConverter to compile that version. 

I’m attempting to build a gui wrapper for the LPXML tool, so looks like I’ll be downloading the SDK for every version. 

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

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!

OSZAR »