We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2023-02-23 01:39 PM - last edited on 2023-05-24 09:40 AM by Rubia Torres
Hello,
I model a nice house with Archicad 23 for a client using this version.
I present this project here :
I have made a lot of "personnal windows" and doors by this way (some with stained glass) :
- model with slabs
- on of these slabs get the Element ID "wallhole"
- I select all of them and save it as a window or a door
It is very easy but not as nicely as I want because the frames of these bays become segmented as shown below with this simple example :
Is there a way to hide or smooth these segments ?
I tried changing the "magic wand" settings to change this segmentation when modeling the slab but to no avail.
I am looking into GDL ...
Solved! Go to Solution.
2023-02-23 05:16 PM
In the object, there may be a WALLHOLE command in the 3D script. That command defines how the wall is cut by the window and the command is as is :
WALLHOLE n, status,
x1, y1, mask1, ...
xn, yn, maskn [, x, y, z]
The x and y values are the coordinates of the wallhole and the mask is a value that defines how the edge at that coordinate behaves. It's that value that is called a status code and it goes from 0 to 15 : 15 is a hard edge and likely the value here so if you put 13, the edge will be hidden (but not smooth though).
Further info can be found in the GDL Reference Guide under Help/Documentation in the Archicad menu.
2023-02-23 03:32 PM
You will need to modify the status codes in the gdl object that is generated.
2023-02-23 03:37 PM
Thanks @SenecaDesignLLC but how ?
2023-02-23 05:16 PM
In the object, there may be a WALLHOLE command in the 3D script. That command defines how the wall is cut by the window and the command is as is :
WALLHOLE n, status,
x1, y1, mask1, ...
xn, yn, maskn [, x, y, z]
The x and y values are the coordinates of the wallhole and the mask is a value that defines how the edge at that coordinate behaves. It's that value that is called a status code and it goes from 0 to 15 : 15 is a hard edge and likely the value here so if you put 13, the edge will be hidden (but not smooth though).
Further info can be found in the GDL Reference Guide under Help/Documentation in the Archicad menu.
2023-02-23 10:53 PM
Thanks @MetalFingerz,
It's absolutly what I was looking for :
status = 7
status = 5
Here is a part of my 3D script :
wallhole 90, 1,
0.3898213060545, 1.703310120176, varr,
0.3457360846901, 1.719405134936, varr,
0.2546435546943, 1.742040857819, varr,
0.161661052195, 1.754865802279, varr,
0.06784210609928, 1.757734656572, varr,
-0.0257502774453, 1.750614915432, varr,
-0.1180556593356, 1.733587248371, varr,
-0.2080281827115, 1.70684458566, varr,
-0.2946484229318, 1.670689932355, varr,
-0.3769349380633, 1.625532935123, varr,
etc.
With "varr" about status option.
Thanks @MetalFingerz
2023-02-24 01:05 AM
I would start with the gdl pdf guide. I have coded all my windows so I'm unsure which 3d type the wall hole is but you need to add status codes to the wall hole to eliminate the visible segmentation.
2023-03-07 08:43 AM
I would start with the gdl pdf guide
Hello @SenecaDesignLLC,
English is not my birth language, read and learn a new script language through a foreign language is arduous. It is for this reason that I focus on a specific topic for each GDL need. Thank you both very much for your help.
I hope to get a french GDL guide !
2023-03-07 09:06 AM
@Christophe Fortineau wrote:
I would start with the gdl pdf guideI hope to get a french GDL guide !
I assumed that all of the PDF guides in the HELP > DOCUMENTATION menu were translated for each language version.
Is that not the case?
Barry.
2023-03-07 09:18 AM
Hello @Barry Kelly,
The last version of french GDL guide I get dates from Archicad 7.
If you have a link to a more recent French version, I'm very interested !
2023-03-07 10:46 AM
So is there no GDL reference in your HELP menu?
Or is there, but it is English?
I don't have any non-English language versions loaded to check.
Barry.