Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Door/Window Opening Side

rav668
Participant
Hello,
Lately I was trying to differ my Windows in 2d Script depending on opening side ("Left", "Right"). Script is used in GeneralWindowUnit (module). I found suitable parameter - ac_OpeningSide. This is a string value eigher "L" or "R", so I tried:
If ac_OpeningSide = "L" then (...)
It does not work at all. Where might be a problem?
Thank you in advance!,
rav668.
8 REPLIES 8
Barry Kelly
Moderator
Do you actually have a string parameter for 'ac_OpeningSide' in the parameter list?

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
rav668
Participant
Actually, no. It is inactive (gray).
But I believe there must be a way to solve it, maybe different parameter? Because it is somehow executed in AC.
rav668
Participant
This parameter works fine with doors but not with windows.
Is there any solution for this?
Barry Kelly
Moderator
rav668 wrote:
This parameter works fine with doors but not with windows.
Is there any solution for this?
I can't say I have ever used it.
I have used the Global Variable WIDO_ORIENTATION in the past.

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
Barry Kelly
Moderator
PS
You have to delete the 'ac_OpeningSide' parameter if you want to use the 'WIDO_ORIENTATION' global variable - no idea why.

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
Hi Barry,
What are the values for WIDO_ORIENTATION? "left", "right"?
Strangely I am only just trying to use this now and can't get a response. There is mention of only working if created according to local standards. What does that mean? Is there a local standard macro or something for this function.

Thanks,
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
Hi Kristian,
I get the 'default' orientation values as shown in the Compatibility Options.
I am sure it used to also show the 'Custom' values (if you changed them), but no longer does this in 22.


It only seems to work when there is no parameter for 'ac_OpeningSide' I have never been able to get any use out of that parameter.
It must be deleted which can mean you have to change the subtype to just "Window (Wall)" rather than "GS Window Opening".


I assume by 'Local Standards' they mean the orientation / reference side for doors and windows as set out in the GDL manual from page 549 (version 22).

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
Thanks Barry, got it working perfectly.
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