The Global Archicad Community

Stay informed. Get help. Share your knowledge.

Discussions about using GRAPHISOFT's tools (Archicad API, BIMx API, BIMcloud API) for independent software developers

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, gkmethy, rmasaki, MOREH Tamas, Akos Somorjai, Ed Brown, Mihály Palenik, Tibor Lorántfy

I would like to tweak and improve LP_XMLConverter. Is the source code available? I couldn't find it in the Library SDK. It seems to me that the perl scripts just wrap the LP_XMLConverter binary. Should I be using the perl scripts instead of LP_XMLConverter directly?
No Graphisoft source code is available to my knowledge. Were the XML Converter tool available, it would be on the developer SDK site with the API and library kits, but it isn't.

While you can't change the conversion from XML back to GDL... you can certainly run any code/scripts on the XML itself prior to conversion. Is that not sufficient to achieve your goals?
I want to make changes ranging from basic things like prettier output and more verbose errors to more advanced functionality such as concurrency or integration with tools such as a GDL linter or preprocessor. I don't understand why Graphisoft would want to keep the source from the public. I don't see it hurting the company at all and it would be better for the community as a whole if we could contribute to the tools. We all have our different needs and use-cases, and could benefit from the work of other users.

Right now, I've just been "wrapping" LP_XMLConverter in a Python script for my build process, but if Graphisoft doesn't want to open-source it, I may resort to reversing the GSM format myself and writing my own converter, which would be a pain.
James Box wrote:
Mon Feb 17, 2020 10:12 pm
integration with tools such as a GDL linter or preprocessor

Wait, did you built a GDL linter? That would be awesome.

But yeah, more open source would definitely be great...