Choose your top Archicad wishes!

Read more
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

AC23, Windows 10, i7-6700HQ, 8Gb RAM, 500Gb SSD
2 REPLIES 2
4dProof
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
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), 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!