GDL
About building parametric objects with GDL.

Pivoted Door instead of Hinged

vistasp
Advisor
I tried posting this in the dedicated GDL forum but it keeps erroring out while telling me I've already posted it, and it's not showing up either. My apologies if this is a duplication.

A colleague asked me how to do this kind of door. It's very similar to "Double Door with 2 Sidelights 23", except that the shutters need to be pivoted instead of hinged (with the ability to define the pivot position).


I opened the standard library part and found a locked parameter, “gs_pivotOffset”. No doubt, it is nested deep within the macros… This same parameter is editable in another object, "Pivot Door 23", so I was wondering if there's a way to make it accessible for the standard doors as well. Any suggestions on where to look within the maze of macros, would be highly appreciated.

Cheers!
= v i s t a s p =
bT Square Peg
https://archicadstuff.blogspot.com
https://www.btsquarepeg.com
| AC 9-27 INT | Win11 | Ryzen 5700 | 32 GB | RTX 3050 |
7 REPLIES 7
Anonymous
Not applicable
Hi vistasp,

Its been a while! Hope you and your beloved ones are doing well and safe.
About the pivot position: I checked the AC22 version of this door, and it seems that it is very well hide in the script.
To avoid all this trouble: Does your colleague needs to control door to open in 3d/2d? If not, he could try the Library Part Maker. Or perhaps Cadimage doors. (?)
Hope this helps.

Cheers,
vistasp
Advisor
Thanks, Paulo. All well here. Trust that you and your family are in good health too.

I had suggested exactly the same things, but he's not biting! He doesn't want to purchase Cadimage for just a single door, and he also wants the flexibility and display options that the standard objects provide.

Let's see if anyone has taken a shot at it already. If not, it may be time to make a wish, that all doors include a pivot option.
= v i s t a s p =
bT Square Peg
https://archicadstuff.blogspot.com
https://www.btsquarepeg.com
| AC 9-27 INT | Win11 | Ryzen 5700 | 32 GB | RTX 3050 |
Hi all,
"within the maze of macros" there will be a type number that defines what the capabilities are of that element. these type numbers should be set somewhere early in the master script of one of the main macros and referenced in the placeable object. Sorry I dont have time to explore this and give a proper answer right now, but I have played around with them fairly extensively in the past.
Therefore you could probaly duplicate the object and simply change the type number to the pivot door one. However, i am sure there are other ramifications that are difficult to guage without thouroughly understanding all the macros. Have a quick look though as it could be that simple.

Alternatively, I am happy to provide a free trial of our (Cadswift) Infinite Openings tool which does have a pivot door function and can be configured into any panel arrangement. The trial could be extended for the length of the project provided it is not too long.
Sorry, that feels like a dirty sell, but when I have the answer its hard to not say something.
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
Barry Kelly
Moderator
vistasp wrote:
I tried posting this in the dedicated GDL forum but it keeps erroring out while telling me I've already posted it, and it's not showing up either. My apologies if this is a duplication.

I tried posting there a while back and had trouble too.
Since then this new section oft he ArchicadTalk forum has been created specifically for GDL problems.
So I have moved your post here.

My understanding is that the GDL Center forum will be locked off, so it is still there as a reference but can no longer be added too - although there has been no announcement over there.
This new section is to take over from the GDL Center forum, so post all GDL questions here.


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
vistasp
Advisor
Kristian wrote:
Hi all,
"within the maze of macros" there will be a type number that defines what the capabilities are of that element. these type numbers should be set somewhere early in the master script of one of the main macros and referenced in the placeable object.
Thanks for the pointer, Kristian. If someone hasn't already dug in, I guess that might be worth a shot. At worst, it will be a learning experience.
Kristian wrote:
...Sorry, that feels like a dirty sell, but when I have the answer its hard to not say something.
I'll tell my colleague about your extended trial offer, and then it's up to him.

Cheers!
= v i s t a s p =
bT Square Peg
https://archicadstuff.blogspot.com
https://www.btsquarepeg.com
| AC 9-27 INT | Win11 | Ryzen 5700 | 32 GB | RTX 3050 |
vistasp
Advisor
Barry wrote:
I tried posting there a while back and had trouble too.
Since then this new section of the ArchicadTalk forum has been created specifically for GDL problems.
So I have moved your post here.

My understanding is that the GDL Center forum will be locked off, so it is still there as a reference but can no longer be added too - although there has been no announcement over there.
This new section is to take over from the GDL Center forum, so post all GDL questions here.
Thanks for moving the post to the correct location, Barry, and for the explanation about the GDL Centre forum being shut. I guess one can still post responses to existing posts but not create new ones.

In a way I'm glad it's only the AC-Talk forum now.
= v i s t a s p =
bT Square Peg
https://archicadstuff.blogspot.com
https://www.btsquarepeg.com
| AC 9-27 INT | Win11 | Ryzen 5700 | 32 GB | RTX 3050 |
Anonymous
Not applicable
Kristian wrote:
Hi all,
"within the maze of macros" there will be a type number that defines what the capabilities are of that element. these type numbers should be set somewhere early in the master script of one of the main macros and referenced in the placeable object. Sorry I dont have time to explore this and give a proper answer right now, but I have played around with them fairly extensively in the past.
Therefore you could probaly duplicate the object and simply change the type number to the pivot door one. However, i am sure there are other ramifications that are difficult to guage without thouroughly understanding all the macros. Have a quick look through as it could be that simple.

Alternatively, I am happy to provide a free trial of our (Cadswift) Infinite Openings tool which does have a pivot door function and can be configured into any panel arrangement. The trial could be extended for the length of the project provided it is not too long.
Sorry, that feels like a dirty sell, but when I have the answer it's hard to not say something.
Hey Kristian Bursell,
How are you! I work with the dimension plus team in India. I am new to GDL so I am figuring out macros for the double pivot doors as you told here. But I am having issue understanding the macro itself.

So I have noticed that all the door in the library uses a macro called gs_general_lt_door_macro so I started exploring that and I found opening methods constants which they have preset for each type of door opening and there is a type called OpeningMethodCustom and it has a number 99 and another boolean parameter which is bCustomDoorObject when I enable that I remove the whole door design and just keeps its frames.

So my question is that can you explain how to use the door macro in detail and can you please tell me if I select custom option then how I would create a door in that.

Thank you.

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!