License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

SLAB INFO

Anonymous
Not applicable
Best wishes for 2011 to everyone !

I'm making a GDL object of a (concrete or steel) beam.
(using ArchiCAD for structural engineering drawing)

Can a GDL object know information about the (nearest) slab on top of which it is positioned, in the same story ?
(distance to the slab, thickness of the slab)

I found the global parameters about home/current story elevation but that's not what I need.
9 REPLIES 9
Jochen Suehlo
Moderator
If the object is a label, yes; and if it is assosiated with the slab.
Globals: SLAB_THICKNESS and GLOB_HSTORY_ELEV + GLOB_ELEVATION.

If it is no label, i think not.
Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
vfrontiers
Advocate
I would like to know WHY you're asking....

If it is so you can show that data in a schedule, might be tricky...

If you want to always place your beam a specific height above the slab, that might be a bit easier...

1. Include a parameter that specifies how high above the slab you want to place it.. And use that parameter as a "z" offset in your 3d script

2. Use the GRAVITY to lock to top of slab

3. Place your object... The objects base elevation will read the same as the slab, but your parameter that defines the offset will let the beam beam hover that distance above the slab....

Let me know if I didn't make sense...
Duane

Visual Frontiers

AC25 :|: AC26 :|: AC27
:|: Enscape3.4:|:TwinMotion

DellXPS 4.7ghz i7:|: 8gb GPU 1070ti / Alienware M18 Laptop
Ralph Wessel
Mentor
sadones1 wrote:
Can a GDL object know information about the (nearest) slab on top of which it is positioned, in the same story ?
(distance to the slab, thickness of the slab)
Only possible using the ArchiCAD API.
Ralph Wessel BArch
Software Engineer Speckle Systems
Anonymous
Not applicable
vfrontiers wrote:
2. Use the GRAVITY to lock to top of slab
Unless something has changed the gravity function will only drop things onto slabs, roofs and meshes but does not maintain the relationship after the initial placement.
vfrontiers
Advocate
Matthew wrote:
vfrontiers wrote:
2. Use the GRAVITY to lock to top of slab
Unless something has changed the gravity function will only drop things onto slabs, roofs and meshes but does not maintain the relationship after the initial placement.
Right... I was only suggesting that at PLACEMENT it would know the top of slab and could "hover" above it...
Duane

Visual Frontiers

AC25 :|: AC26 :|: AC27
:|: Enscape3.4:|:TwinMotion

DellXPS 4.7ghz i7:|: 8gb GPU 1070ti / Alienware M18 Laptop
Anonymous
Not applicable
vfrontiers wrote:
Matthew wrote:
vfrontiers wrote:
2. Use the GRAVITY to lock to top of slab
Unless something has changed the gravity function will only drop things onto slabs, roofs and meshes but does not maintain the relationship after the initial placement.
Right... I was only suggesting that at PLACEMENT it would know the top of slab and could "hover" above it...
I figured you knew. I just had to comment, partly because I WISH we could lock in the relationship.
Anonymous
Not applicable
I need the following kind of section (see attachment).
The beam is a GDL object.
The section is generated as a 2D script.
If GLOB_SCALE = 50, the 2D script generates the plan view of the beam, without steel.


I now enter the slab (bottom) level, slab thickness in SCHEDULES and I also draw the slab with the normal archicad SLAB tool, so I enter the same information twice.
SECTION.jpg
Anonymous
Not applicable
For different interactions between beam and slab, the drawing must adapt, that's why I draw the section with a 2D script at this moment.
Anonymous
Not applicable
To Duane,

Your suggestion to place the object at some distance above the top level of the current floor works as suggested.

But the question is :
Can a GDL object access information about slabs on the current story (or the story 1 level higher) to use in a 2D script ?

I'm afraid it's not possible without API ?