We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Modeling
About Archicad's design tools, element connections, modeling concepts, etc.

Doors / windows open in 3D perspective & closed in Sections / Elevations

Anonymous
Not applicable
I really want my windows and doors (bi-folds, sliders, etc.) to be open in my 3D perspective view, but have them closed in my 2D sections & elevations. As far as I know this isn't possible - how do people get around this?

The project looks way better having them open in 3D but for 2D drawings it's convention to show them closed.
6 REPLIES 6
Barry Kelly
Moderator
Generally most doors and windows only have 2D and 3D opening options.
As a section or elevation is essentially a 3D view, they will use the 3D opening settings.

The object needs to be scripted (3D script) so it can recognise when it is in a section or elevation view and you can then control it separately to the 3D view.

So unless it has been scripted that way, or you can amend the script yourself, you won't be able to have separate control.

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
Barry wrote:

The object needs to be scripted (3D script) so it can recognise when it is in a section or elevation view and you can then control it separately to the 3D view.

So unless it has been scripted that way, or you can amend the script yourself, you won't be able to have separate control.
Barry,
This sounds very interesting.
Do you have any examples of how to script that?
I haven't explored the GDL-side of Archicad as much as I want to so if you have any help then that would be appreciated.

Cheers
Erik Bjornhage : SwedishChef, ETTELVA Arkitekter, Gothenburg, Sweden
Architect : Digital Development : Graphisoft Cert. BIM-Manager
ETTELVA Arkitekter : Eriks LinkedIn
DELL Precision 5570; i7-12700H; 64 GB; RTX A2000 [8GB] : AC12 - future
Lingwisyer
Guru
IF glob_view_type = 4 | 5 THEN			!elevation or section
	gs_shutter_opAngle = 0
	gs_shutter_opLength = 0
ENDIF

Actual variables used may vary between objects / opening types.



Ling.

Woops... had the wrong view types...

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
Barry Kelly
Moderator
SwedishChef wrote:
Do you have any examples of how to script that?
I haven't explored the GDL-side of Archicad as much as I want to so if you have any help then that would be appreciated.

The is a command GLOB_VIEW_TYPE that can be used in a IF statement.

IF GLOB_VIEW_TYPE = 4 or GLOB_VIEW_TYPE = 5 THEN
.....add script to do what you want - i.e. open or close doors 
ENDIF

GLOB_VIEW_TYPE = 4 is to trap if the object is being viewed in a section
GLOB_VIEW_TYPE = 5 is to trap if the object is being viewed in an elevation

Of course you will need to know more GDL to perform the action that you want to do.


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
Thanks for that.
I am painfully aware that my GDL skills are lacking but this gives me a starting point.
As often is the case we do not get enough time to delve into something and learn to develop things from scratch but questions come from colleagues in active projects which means it's more of putting out the fire than trying to prevent it from happening.

Thanks again for your help
Erik Bjornhage : SwedishChef, ETTELVA Arkitekter, Gothenburg, Sweden
Architect : Digital Development : Graphisoft Cert. BIM-Manager
ETTELVA Arkitekter : Eriks LinkedIn
DELL Precision 5570; i7-12700H; 64 GB; RTX A2000 [8GB] : AC12 - future
Lingwisyer
Guru
Wish

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