2023-09-22 04:01 PM - last edited on 2024-09-26 01:57 PM by Doreena Deng
I'm making a window GDL and I'm trying to get building materials from basic wall.
What should I do?
2023-09-22 06:39 PM - edited 2023-09-22 06:40 PM
@LeeJaeYoung , if you're gonna start doing windows in GDL, you should really read the Reference Guide, there's a whole section about this : https://gdl.graphisoft.com/reference-guide/doors-and-windows
More importantly, regarding your question :
If you want to match the surface materials of door/window elements to those of the wall, the bottom surface of the elements should match the outside, and the top surface the inside of the wall. You can achieve this from your scripts using the WALL_MAT_A, WALL_MAT_B and WALL_MAT_EDGE global variables
representing the surface materials of the wall into which the door/window is placed. In the 2D script, the WALL_SECT_PEN, WALL_FILL_PEN and WALL_FILL global variables can be useful, as these give you the pen numbers of the wall contour and fill plus the index number of the fill of the wall on the floor plan into which the door/window is placed. With composite walls, you have to use the corresponding global variables.
WALL_MAT_A should give you the the first layer of a composite wall and the material of a basic one I believe.
2023-09-23 03:30 AM
Thank you for your advice.
Is there any way to obtain Building Materials?
I like to judge by Building Material.
I can judge it based on the material, but..... ^^
2023-09-29 09:35 AM - edited 2023-09-29 09:53 AM
Hi,
yes, WALL_SKINS_PARAMS contains the building material index for all types of walls.
2023-09-29 09:53 AM
I'm asking how to get building material from Basic wall.
Thank you for your interest. ^^
WALL_SKINS_PARAMS parameters of the composite or complex wall skins
WALL_SKINS_BMAT_NAMES building material names of the composite or complex wall skins