License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

GDL
About building parametric objects with GDL.

How show building_material hatch on 'project{2} - cutplane' object

Anonymous
Not applicable
Hello
I've tried many times but without solution.
Is possible to show in gdl 2D the building_material hatch, pen .... of own 3D elements?

thx
4 REPLIES 4
DGSketcher
Legend
Yes it is possible but not easy. The only pointers I can give you are:

- If possible create the required plan drawing using 2D tools like POLY2_B in the 2D script
- If you have to use Project2, use the Project2{4} version
- You will need to use REQUEST to extract the fill & pen settings from the used material.
Apple iMac Intel i9 / macOS Sonoma / AC27UKI (most recent builds.. if they work)
runxel
Hero
Also there is a bug in PROJECT2{4} that will prevent you from showing the BMat correctly, you will need to do that by looping through all different used BMats.
Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Akroter.io – high-end GDL objects | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text

My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
I agree with DG,

Don't use project2, it slows the regeneration.
Use the request function to get the material settings.
Then apply them to a poly2_b command.
Creator of Cadswift's parametric GDL libraries
Creator of Infinite Openings and Component Catalogues
Push the envelope & watch it bend
website: https://cadswift.com.au/
YouTube: https://www.youtube.com/user/CADSwift/playlists
A_ Smith
Expert
Kristian wrote:
Don't use project2, it slows the regeneration.

It's true. But sometimes you have a complicated object that's hard/impossible to draw a projection of it with help of poly. Idk if it's a good solution, but in such situations I tend to use project2{4} with parameters resolution=6. Where resolution is a parameters that sets resol in 3D script (for instance it could be 24 - high detalization for 3D).
AC 22, 24 | Win 10

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!