2025-11-30 11:08 AM
gdl2svg – Parametric Icon Generator for GDL
A new lightweight but powerful tool is now available for all GDL developers: gdl2svg, a free, parametric icon generator that creates precise SVG graphics directly from simple GDL-like drawing commands.
The idea is simple:
Instead of manually drawing UI icons, you can now generate them script-based, using a syntax very close to familiar GDL 2D commands. Each instruction is automatically converted into SVG in the background.
Key Features:
Parametric icon creation using GDL-style syntax
Automatic conversion to SVG
Export as transparent PNG for direct use in Archicad GDL object UIs
Ideal for consistent, scalable, automatable UI graphics in your library objects
Perfect for anyone who wants to modernize their GDL library, create consistent icon sets, or generate UI graphics dynamically.
Downloadlink: https://b-prisma.de/develop/gdl2svg-converter/
3 weeks ago
Thanks Jochen and b-prisma. Looks great! Will try it out.
2 weeks ago
A sidenote: it is better not to use png's but rather tifs, and GDL and Archicad uses multipage tiffs with different resolutions for different UI scaling (MacOS way) - so then the UI items are more crisp when using either MacOS or Windows OS scaling.
Having the folder with svgs You can use:
LP_XMLConverter convertlibrary -excludesvg svg_folder tif_folder
Where svg_folder is the path to the folder with svgs, and the other for folder with tifs.
I made myself a bat file connected to right click on the folder for that (Windows version, but probably something alike can be done for Macs)
"C:\Program Files\GRAPHISOFT\LibDev Toolkit 22 (3013)\Tool\WIN\LP_XMLConverter" convertlibrary -excludesvg %1 %1_tif
path ofc can vary
There are no easy tools for compiling done tiffs to multipage tiff, at least I could not find one. I did a powershell script with UI that gets the oversized bitmap and then makes the nedded ones and puts to one tiff using imagemagick.