GDL
About building parametric objects with GDL.

Call an object from an object?

Mats_Knutsson
Advisor

Hi,

Tried to call a 3D text object from the zone stamp but it only shows up like an empty rectangle in 2D and nothing in 3D...!? Any idea what I did wrong?

 

CALL "3D-text 25" PARAMETERS textcontent = "Hello", gs_font_size = 10

 

It must be that the zone stamp is 2D only... How could I get the 3D text if not with the zone stamp? I obviously want to place a 3D zone name/number in the model. We do this with Grasshopper but this should be possible directly with GDL imo.

AC 25 SWE Full

HP Zbook Fury 15,6 G8. 32 GB RAM. Nvidia RTX A3000.
4 REPLIES 4
Bruce
Advisor

That would be my guess: zones don't behave in 3D like other objects - they are their own beast.  If you were to try this same technique with a standard object, you would have better success.

 

Bruce Walker
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb

It's a pity. I'd like a 3D room stamp to be automated...

AC 25 SWE Full

HP Zbook Fury 15,6 G8. 32 GB RAM. Nvidia RTX A3000.

Can you use REQUEST directly in the 3D text object?

Maybe make a copy of it specifically as a '3D zone text' object.

 

BarryKelly_0-1677662468001.png

 

I just had a quick try (placed requests directly in the 3D script).

I can get the Zone_category request to work but not the Zone_relations - that just returns a zero for any of the variables - but it shouldn't.

It is supposed to work with objects

I don't have time to play any more just at the moment.

 

BarryKelly_1-1677662583603.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
Peter Baksa
Graphisoft
Graphisoft

Hi,

Zone stamps are floor-plan-only. Zone Labels (AC26) can be placed on section/elevation and 3D documents too.

The zone itself can't have a GDL model.

Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest