GDL
About building parametric objects with GDL.

Transfer Building materials' fill attributes to Sections/Elevations and plan

Durval
Enthusiast
If I create the parameter "build_mat", of type Building Material, then write this in the 3D Script:

BUILDING_MATERIAL build_mat
BLOCK A, B, ZZYZX
Then create a section passing trough my object, shouldn't I see the block filled with the same fill that is set for the building material?

All I see is an 'air space' fill, no matter what building material I set to the object.

Also, how could I use this same fill in plan, combined with PROJECT2{*} function?
--- www.dtabach.com.br ---
AC 24 BR – MacBook Pro 2,9 GHz Intel Core i7 16GB RAM Mac OS 10.14
3 REPLIES 3
leilei
Enthusiast
Hi,I have the same problem. Have you solved it
Lingwisyer
Guru
http://gdl.graphisoft.com/tips-and-tricks/explore-the-project23-command

Pull the Fill of your Building Material then insert it into the gs_fill_type parameter?

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
Peter Baksa
Graphisoft
Graphisoft

This should work. Be sure to turn off Floor Plan and Section > Cut Surfaces > Override Object's Attributes, and use Cut Fill in Section Setings > Model Appearance > Cut Elements > Cut Fill.

 

Use REQUEST{2} ("Building_Material_info") to get the fill index.

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