GDL
About building parametric objects with GDL.

I'm trying to create and add a Style to the door.

LeeJaeYoung
Virtuoso

스크린샷 2023-09-18 015008.png

I'm trying to create and add a Style to the door.
I would appreciate it if you could tell me where to look.

AC27 on window 11
5 REPLIES 5
Barry Kelly
Moderator

Easier to 'save as' a 'custom door leaf'.

Otherwise you will need to edit the user interface macro for the doors, as well as the image file showing the image of the doors as well as the actual door leaf object itself.

And as you have discovered, that is not so easy.

Then as soon as the library is updated, you will need to do it all again.

 

Just save as a custom door leaf and you can use it in any door.

The door leaf will be saved in the embedded library so you will need to export it to an office library if you want to use it in other files.

 

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

Given the macro names do not actually change, unless you named your own version, your would just need to extract the new version and replace the macro with your editted version. It is not like any of these have really changed in the past few years... Still, a pain the make the initial edits...

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

So long as it is an edited version of the macro and not a 'saved as' version, as the GSID for the macro needs to remain the same.

You will also need to edit the image file for the door leaf selection and the user interface script.

I am not sure if the user interface is part of the door leaf object or a separate macro.

 

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

If editing is difficult, don't do it.
If you tell me which part it is, I would like to read it.
I would really appreciate it if you could tell me the UI part and script.

AC27 on window 11

The macro is just called DoorLeafPanels.

 

General GDL Object => Model Element => Macro => DoorLeafPanels

 

As far as I know, the macro is self contained, exluding images, and includeds all the relevant UI.

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