Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

How to convert GDL object to XML using with LB_XML

Anonymous
Not applicable
Dear Archicad User i am doing some experiment how to convert GDL object to XML format using with LB_XML Converter Tools in (Lib Dev Tool kit).

Please Guide me if you know this procedure if will very helpfully for me .

thanks
23 REPLIES 23
Frank Beister
Moderator
Mac or win?

There comes a documentation with the kit. Follow the headlines and you come to the command line parameters. Create a Reference of the EXE file and open its settings dialog. Add the needed commands at the end of the infield with the program path and name. Close window and doubleclick on the referenced item. A black text window should open shortly and should do the job.

Other way: Open MS Dos box and navigate to the XML... folder. type in program name, followed by the parameters. If you add no parameters all available should be listed after pressing return.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Anonymous
Not applicable
Hi Mr.F.Beister

thank you for your prompt reply if you guide details briefly it will helpful .

thanks
Anonymous
Not applicable
Dear

I am using in Windows i need help for that

thanks
Anonymous
Not applicable
Dear User

LP_XML Converter Tool for use XML Files to ArchiCAD or ArchiCAD (GDL) files to ArchiCAD or else We can use Both converts.

Could you tell me correct way to do this
Frank Beister
Moderator
Instead of opening a new thread you should renew your last posting to bring up.

The converter itself is obvisiously not used very much in this group, so you will not get much response. When I am back on my home machine I can send you a screenshot of my settings.

But PLEASE read the documentation to the tool and ask, WHAT you do not understand and what you wanna do at all! I will/can not explain the whole converter. 😉
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Ralph Wessel
Mentor
Baheerathan wrote:
I am using in Windows i need help for that
You will need to call this from the Command Prompt (Accessories/Command Prompt). First change to the directory containing the conversion utility, e.g.
  • (for 8.1) cd C:\Program Files\Graphisoft\LP_XML_Compiler\
    (for 9) cd C:\Program Files\Graphisoft\LibDevTool_9_1810\Tool\Win\
    (for 10) cd C:\Program Files\Graphisoft\LibDevToolkit 10\Tool\Win\
The exact paths depend on your installation.

To convert GDL objects to XML enter:
LP_XMLConverter.exe l2x <source dir> <dest dir>
...where <source dir> is the current location of the library parts and <dest dir> is the destination of the XML files (don't enter the <> characters). A quick way of entering a directory is to drag the folder from Windows Explorer and dropping it onto the Command Prompt window. Just make sure there are spaces between the directorys.

To convert XML to GDL objects enter:
LP_XMLConverter.exe x2l <source dir> <dest dir>
...where <source dir> is the current location of the XML files and <dest dir> is the destination of the GDL objects.
Ralph Wessel BArch
Active Thread Ltd
Anonymous
Not applicable
Dear Ralph Wessel

Thank you for your proper Guidence I did sucessfully

regards
Anonymous
Not applicable
Hi
Im trying to use the xml converter to convert from a gdl file to xml.
I am on a mac. I have downloaded the lastest Library dev pack etc.
I've tried and tried and still can't get it to work. It always say error opening or error saving.
Would someone please be able to help. A screen shot of the setting you use would be fantastic.

Thanks
Ralph Wessel
Mentor
sdb wrote:
Hi
Im trying to use the xml converter to convert from a gdl file to xml.
I am on a mac. I have downloaded the lastest Library dev pack etc.
I've tried and tried and still can't get it to work. It always say error opening or error saving.
Would someone please be able to help. A screen shot of the setting you use would be fantastic.
To convert from XML to GDL, try something like this in the terminal:
cd /Applications/Graphisoft/LibDevToolkit\ 11/Tool/OSX/LP_XMLConverter.app/Contents/MacOS/

./LP_XMLConverter x2l /Users/rwessel/Desktop/LibraryXML/ /Users/rwessel/LibraryGDL/
...where LibraryXML is the folder containing the source XML and LibraryGDL is the destination of the converted parts. You would need to use the path to your installation of LP_XMLConverter of course.

The converse (GDL to XML) would be:
cd /Applications/Graphisoft/LibDevToolkit\ 11/Tool/OSX/LP_XMLConverter.app/Contents/MacOS/

./LP_XMLConverter l2x /Users/rwessel/Desktop/LibraryGDL/ /Users/rwessel/LibraryXML/
Edit: The above is entered into a terminal session (look in Applications/Utilities/Terminal)
Ralph Wessel BArch
Active Thread Ltd