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

Door orientation

Joze Marinko
Contributor

Hey,

I changed Door GDL code a little bit. Everything work as I expected but orientation text in Schedule got weird. I just want letter L for Left Door and R for Right Door.

What is going on here?

 

Screenshot 2024-11-15 at 20.25.16.png

 

Operating system used: Mac Intel-based Ventura 13.7.1

4 REPLIES 4
Laszlo Nagy
Community Admin
Community Admin

When you opened the Door for editing, did you by any chance change the Left and Right Orientation value fields in the Compatibility Options Dialog?

Can you show me a screenshot that shows the values for your Door?

 

Door-OrientationEditing.png

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28

Hey Laszlo, thanks for your answer. I did not change anything in this dialog (difference to your image is because I took USA door for editing). I also tried all combinations witho no changes in schedule.

As I read there is also a script version of determining the Door opening direction. It may be related, but I can't find a macro that edits this output.

 

Screenshot 2024-11-20 at 16.02.43.png

Laszlo Nagy
Community Admin
Community Admin

My understanding was that those fields (ore or the other) are listed as Orientation in Schedules, so if some other value is listed, I would suspect that it is a bug, so I will report it to GS HQ.

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Peter Baksa
Graphisoft
Graphisoft

Hi Joze,

 

This is something related to localization of .libpack files.

The parameter default value is "L{{Abbreviation of Left}}" which normally gets replaced from the localization dictionaries in the .libpack file to "L" in english. When you extract content from the libpack, AC no longer uses the dictionaries, and will find the unlocalized parameter default.

You can either

* re-assemble the .libpack with the modified code: https://gdl.graphisoft.com/gdl_tips_tricks_chapter/library-package-technology

* embed the libpacks into the plan with localized strings by saving as PLA - this is the easier way if you don't need to switch to another localization later

 

Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest

Setup info provided by author