cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
GDL
About building parametric objects with GDL.

Parametric Icon Generator for GDL

Jochen Suehlo
Moderator

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/

Jochen Suehlo . AC12-29 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
2 REPLIES 2
easyDoesIt
Enthusiast

Thanks Jochen and b-prisma. Looks great! Will try it out.

Cheers, Mark
archibites.tech | Wet Area Tool | Door Circulation Compliance | Multi-Label | Roof Slope | Wall Type Label
Brisbane, Australia
Windows based system on all versions of Archicad

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.

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!