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

Multi material GDL objects in sections

Sam Karli
Enthusiast
Hi,
when I make a GDL object from objects with multiple materials (layered wall / slab, object made by Profile Manager), object's material (fill) will become homogeneous in sections.

Is it possible to have it to retain its multiple materials/fills?

Vágólap-1.png
GDL/Python/C++ dev
5 REPLIES 5
Laszlo Nagy
Community Admin
Community Admin
i tried this and then checked the generated GDL script.
It seems that you are right, there is some bug in the generated script which causes all skins to be displayed in section with the same section fill.
This is incorrect because the data and section fill parameters are there in the GDL Object, only the commands that set the section fills to the proper values are incorrect.
So I will report this to GRAPHISOFT.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Before a 3d entity that has to be presented with custom fill You have to define sect_fill.

Best Regards,
Piotr
Laszlo Nagy
Community Admin
Community Admin
Actually, in the example I checked the script was using the SECT_ATTRS GDL command, which I guess is a more modern way of setting Section attributes in GDL.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Sam Karli
Enthusiast
Thanks,
hopefully will there be a hotfix for that, the ArciCAD SE should get it as well.
GDL/Python/C++ dev
Sam Karli
Enthusiast
Interestingly enough, it's not a 'serious' internal bug, it's just the generated gdl script that has the same materials for all the layers, etc in its sect_attrs definitions.

When the sect_attrs are handled correctly (and the group-engroup-killgroup stuff removed), the result is correct.

Obviously ac works as follows:
-creates (two or more) solids
-adds them through (quite too many) solid edge operations
-and the result is, because of the seo, ist a homogeneous material. If the seos are blocked and the sect_attrs are handled correctly, the result is ok.
GDL/Python/C++ dev