cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

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
Expert

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
http://www.brucepwalker.com
https://www.mindmeister.com/65450406
-- since v8.1 --
AC25 5010 AUS Full | Windows 10 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 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

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 as a Platform
Graphisoft SE, Budapest

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!