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

making walls/slabs/roofs with GDL?

Anonymous
Not applicable
Hi again,

I have been looking for some guidelines on how to make a wall with GDL, and so far, have only found http://archicad-talk.graphisoft.com/viewtopic.php?t=12056, indicating that it is not possible at all!

Is this true?
There's a subtype called "Wall" in the editor, but I need a clue on how to get started, if possible at all!

thanks,
Jeppe
14 REPLIES 14
Anonymous
Not applicable
You could make walls with GDL, but these walls would not act as wall, they would act as an GDL-object.
Anonymous
Not applicable
Any hint's what i can do about it?

I need to make a custom wall that behaves like the built in one, should be drawn with the wall tool and be able ti make holes for windows and doors etc.

I'm an IT-engineer, on AC 10 and member of the developer network, but besides that, I'm pretty newbie to AC and GS...

any hints or suggestions is welcome - doesn't need to be GDL if there's an API or something else for AC!

- Jeppe
1) You can create walls with Custom Profiles. (check the AC Help menu).
2) Look at ArchiWall from www.cigraph.com, if you need something more exotic.
Richard
--------------------------
Richard Morrison, Architect-Interior Designer
AC26 (since AC6.0), Win10
Anonymous
Not applicable
There is an API available here, if you are really up for some C programming. It's rather a lot of work unless you are making a tool which will be extensively used.
Anonymous
Not applicable
Ok, the ArchiWall seems interesting, and not too expensive. I might try it out!

But here's a couple of related questions:

- Where does the GDL shapes CWALL_, BWALL_ and XWALL_ fit in this picture... if you can't make walls, why can you make walls (so to speak)?

- Can't I 'just' do like the ArchiWall tool and 'glue' my object to an existing wall, and cut the holes and trim to roof by asking the host walls parameters/global variables?

I'm looking in the GDL reference and the GDL cookbook, but a lot of the time, I miss the ability to get a textual explanation (GDL reference just gives you the syntax and some examples) or the possibility to look up specific commands and/or concepts (GDL cookbook is good reading, but hard to use as a reference) - any other sources I miss out on?

Thanks again, It's cool that answers come so quick!

- Jeppe
Laszlo Nagy
Community Admin
Community Admin
jeppe.liisberg wrote:
Ok, the ArchiWall seems interesting, and not too expensive. I might try it out!

But here's a couple of related questions:

- Where does the GDL shapes CWALL_, BWALL_ and XWALL_ fit in this picture... if you can't make walls, why can you make walls (so to speak)?

- Can't I 'just' do like the ArchiWall tool and 'glue' my object to an existing wall, and cut the holes and trim to roof by asking the host walls parameters/global variables?

I'm looking in the GDL reference and the GDL cookbook, but a lot of the time, I miss the ability to get a textual explanation (GDL reference just gives you the syntax and some examples) or the possibility to look up specific commands and/or concepts (GDL cookbook is good reading, but hard to use as a reference) - any other sources I miss out on?

Thanks again, It's cool that answers come so quick!

- Jeppe
You can drag and drop any element from the Floor Plan into the 3D Script of a GDL Object. In that case, ArchiCAD will create the script for that geometry. This is why CWALL_, BWALL_ and XWALL_ etc. exist in GDL.

But the main point is that ArchiCAD Walls made with the Wall object join correctly. If you did a Wall using GDL, two such Walls would not join because they would be elements placed with the Object Tool, not the Wall Tool, and the Object Tool does not have this intelligence.
I do not know if this would be possible using API: create Walls using GDL, then these Walls would sense the proximity of each other and join/"heal" accordingly. Maybe another can answer that.
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
Frank Beister
Moderator
But what should it be good for creating walls in GDL? Wouldn't it be better to create normal walls by the wall tool and modify them by profiles, attributes, wall acessory, SEOs, or simple opening objects?
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Anonymous
Not applicable
F. wrote:
But what should it be good for creating walls in GDL? Wouldn't it be better to create normal walls by the wall tool and modify them by profiles, attributes, wall acessory, SEOs, or simple opening objects?
I want to make a library with special walls, slabs and roofs, using layers of different materials and with special abilities to eg. calculate the amount of a certain material used.

I could use an existing wall and "glue" my "special-ability" object on that, but it needs to be as user friendly as possible, meaning that downloading the library and inserting the object, assigning it to a given wall, should be enough to make the whole thing work...

- Jeppe
Anonymous
Not applicable
jeppe.liisberg wrote:
I want to make a library with special walls, slabs and roofs, using layers of different materials and with special abilities to eg. calculate the amount of a certain material used.

I could use an existing wall and "glue" my "special-ability" object on that, but it needs to be as user friendly as possible, meaning that downloading the library and inserting the object, assigning it to a given wall, should be enough to make the whole thing work...
Anyone correct me if I'm wrong. But I think you could do this thing with normal wall-tool.
I read along ago about making GDL scripts that make fills, composite structures, textures and so on that you could use with for example wall-tool. Instead of distribute these things with an .pln file you could distribute this as a GDL-object.

Than, you build component/property GDL-script with bills of material. In wall-tool, Listing & labeling you link every wall on plan to correct type of GDL script.

Then you got a bill of material.

What you have to distribute than is your GDL-scripts that make your composites, and even your GDL-scripts with bills of material.

But like I said on top, I'm not sure about GDL-scripts that make composites.