We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

Create our own window easily and nicely

Hello,

 

I model a nice house with Archicad 23 for a client using this version.

1676898602323.jpg

I present this project here :

https://bit.ly/3Izr4ld

https://bit.ly/3xCqnT6

 

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 :

Capture d’écran 2023-02-23 à 13.17.52.png

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 ...

 

Christophe - FRANCE
Archicad Designer and Teacher
Archicad 15 to 27 FRA FULL

OS 11.6 Big Sur - MacBook Pro 2017 - 16Go RAM
"Quality is never an accident ; it's always the result of an intelligent effort" John Ruskin
1 ACCEPTED SOLUTION

Accepted Solutions
Solution

Hi @Christophe Fortineau ,

 

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).

 

Status codesStatus codes

 

Further info can be found in the GDL Reference Guide under Help/Documentation in the Archicad menu.


View solution in original post

11 REPLIES 11

You will need to modify the status codes in the gdl object that is generated.

Thanks @SenecaDesignLLC but how ?

Christophe - FRANCE
Archicad Designer and Teacher
Archicad 15 to 27 FRA FULL

OS 11.6 Big Sur - MacBook Pro 2017 - 16Go RAM
"Quality is never an accident ; it's always the result of an intelligent effort" John Ruskin
Solution

Hi @Christophe Fortineau ,

 

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).

 

Status codesStatus codes

 

Further info can be found in the GDL Reference Guide under Help/Documentation in the Archicad menu.


Thanks @MetalFingerz,

 

It's absolutly what I was looking for :

Capture d’écran 2023-02-23 à 22.47.58.png

status = 7

 

Capture d’écran 2023-02-23 à 22.48.31.png

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 

Christophe - FRANCE
Archicad Designer and Teacher
Archicad 15 to 27 FRA FULL

OS 11.6 Big Sur - MacBook Pro 2017 - 16Go RAM
"Quality is never an accident ; it's always the result of an intelligent effort" John Ruskin

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.  

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 !

 

 

Christophe - FRANCE
Archicad Designer and Teacher
Archicad 15 to 27 FRA FULL

OS 11.6 Big Sur - MacBook Pro 2017 - 16Go RAM
"Quality is never an accident ; it's always the result of an intelligent effort" John Ruskin

 

 


@Christophe Fortineau wrote:
I would start with the gdl pdf guide

I 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.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

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 !

Christophe - FRANCE
Archicad Designer and Teacher
Archicad 15 to 27 FRA FULL

OS 11.6 Big Sur - MacBook Pro 2017 - 16Go RAM
"Quality is never an accident ; it's always the result of an intelligent effort" John Ruskin

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.

 

BarryKelly_0-1678182352508.png

 

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11