David wrote:
Kees:
Yes, it is possible, as the door or window can pick up and use the fills, materials, etc of the wall to fill in the opening. So rather than looking like a window or door, the opening fills in the wall in 2D and 3D; the Niche type windows are an example. But it will remain a door or window, GDL cannot transform one element type into another.
David
As David says yes it is possible.
Use WALL_SKINS_PARAMS to get the values of fills, pen colours, line types, skin thickness, etc. from the wall.
These can be put into an array parameter.
DIM wallarray_skin [8][16] !!put skin properties into array
PUT WALL_SKINS_PARAMS
FOR k=1 TO 8 !Main array
FOR x = 1 to 16
wallarray_skin
=GET(1)
NEXT x
x = 1
NEXT k
You can then use these values to add fills in 2D.
In 3D you don't need to do anything (i.e. no WALLHOLE) so you are left with the original wall.
Here is an image of an object I use to add a horizontal control joint into a wall (hence the line you can just see in plan).
The plan is filled with the correct fills and in this case a small niche is cut in the wall surface in 3D.
I have added the line in plan so I can see where it is and because my walls are solid fills it doesn't print any different.
But you could alter the pen colours of the fills or the wall skin lines also.
Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11