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

Avanced GDL object and bills of material - list

Anonymous
Not applicable
Hi!

Problem :
I have a complex GDL object with alot of diffent pieces. I want in the calculate meny - illustrated object draw every pieces (maybe more than one picture/view of every pieces) of the objekt and put some text to everything. I only got the object in 3d in an isometric view.

Is there anyone who can give me some tips? Where do I start? Or maybe there is some free GDL objects that work like this?

Greetings
Tobias
9 REPLIES 9
TomWaltz
Participant
Do you have a sketch of what you are looking for?
Tom Waltz
Anonymous
Not applicable
No, I don't have any sketch available where I'm now. But say as an ?easy? example I have a slab with beams and chipboards above it. Now I want to draw every beam in the bills of material if they are different too each other, and how the beam should be cut. I will also put some infotext to it. The slab is the object I draw. The object does all the other thing.

Is there a way to do this in the GDL object?

Did you understand what I'm searching for? I'm not using my english daily so it could sometimes be hard to understand me.
TomWaltz
Participant
TurboGlider wrote:
Did you understand what I'm searching for? I'm not using my english daily so it could sometimes be hard to understand me.
That's why I asked for a sketch.

There is a lot you could do with a GDL object. For it to show up in a schedule, you would have to do all your calculation in the Parameters or Master script, then sent those to the parameter list of the object with a PARAMETERS statement.
Tom Waltz
Frank Beister
Moderator
Have a look to the DRAWING-commands, which bring up (AFAIR) 2d/3d symbols to the lists.
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
Thanks alot!

But another question. I have seen a command or status in ArchiCad so I could present different drawings depending on what view I show.

Like

IF viewport = "Section/Elevation" THEN
...
...
ELSE IF viewport = "Bills of material" THEN
...
ENDIF

What command / status should I look for?
Barry Kelly
Moderator
TurboGlider wrote:
Thanks alot!

But another question. I have seen a command or status in ArchiCad so I could present different drawings depending on what view I show.

Like

IF viewport = "Section/Elevation" THEN
...
...
ELSE IF viewport = "Bills of material" THEN
...
ENDIF

What command / status should I look for?
GLOB_CONTEXT sounds like what you are after.
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
Anonymous
Not applicable
Yes, GLOB_CONTEXT it is.
Anonymous
Not applicable
I think the way we did it was to create a string for each parameter that was tripped.

For example:
IF endcut = 'square' THEN 
   endcode = '01'
ELSE
   endcode = '02'
ENDIF

idstring = width + depth + length + endcode
This way the parameters that make each piece different create a "unique" code. This unique code was used with a REF COMPONENT statement in the properties script along with an element list that generated a piece count, piece description and a 2D drawing of the piece.

If I had to explain the REF COMPONENT, AC database and listing templates over again, I'm not sure I could. It's a pretty convoluted mess in there.
Jochen Suehlo
Moderator
This way the parameters that make each piece different create a "unique" code. This unique code was used with a REF COMPONENT statement in the properties script along with an element list that generated a piece count, piece description and a 2D drawing of the piece.
Sean, could you please give us an example of the use of the REF COMPONENT command in use to produce a piece count and piece description.
Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de