GDL
About building parametric objects with GDL.

Check by script if window is cutted

Martin Walter
Enthusiast

I'd like to know if my custom window is cutted by the section view or no. 

Is this possible? And can I get the angle between the cutting plane and the window or wall?

check for cut.png

AC22-27, Windows 11, i7-1355U, 32GB RAM, 2TB SSD
2 REPLIES 2
Patrick M
Advisor

you can label cut windows in section; but I don't think there is any system global to identify windows with sections running through them. Maybe someone else can chime in if something like properties could be used as an identifying control, but I doubt that expressions come into play here. Maybe an expression to schedule elements by viewpoint?

BIM solutions and trouble shooting (self proclaimed) expert. Using Archicad 26 5002 US on Mac OS 11.5.2
Barry Kelly
Moderator

In GDL you have GLOB_VIEW_TYPE which can tell you if an object is being displayed in a section.

But only when it is displayed in a section view.

It won't know there is a section passing through it in the plan view.

And it can't determine the angle of that section.

 

Maybe with an API (add-on) it would be possible, but I have no idea.

 

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

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!