2026-02-02
11:42 AM
- last edited on
2026-02-02
12:13 PM
by
Laszlo Nagy
Hi,
I created a simple box with GDL, this is like a concrete window sill, which should be placed under the sill finish.
I want to link that box as a macro the the default Archicad windows, can someone explain the process please?
What I need:
Thanks a lot.
Operating system used: Windows 11
2026-02-03 04:20 PM
My first gdl macro haha
2026-02-04 03:49 AM
I brought it up in this thread, but the easiest way would be to create new top level objects into which you call the original object as well as your macro. A UI will be required for your macro as GS objects hide the All Parameters tab and there is no way to override that...
I just trial and errored the TABID to get it where I wanted in the menu.
Ling.
| AC22-29 AUS 3200 | Help Those Help You - Add a Signature |
| Self-taught, bend it till it breaks | Creating a Thread |
| Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
2026-02-04 04:05 AM
@Lingwisyer wrote:
A UI will be required for your macro as GS objects hide the All Parameters tab and there is no way to override that...
Hunt for the line... HIDEPARAMETER ALL ... and comment it out.
It should be in the main object or the it could be in the macro that calls the user interface.
Barry.
2026-02-04 05:12 AM
But that would require editing it in original GS objects.
| AC22-29 AUS 3200 | Help Those Help You - Add a Signature |
| Self-taught, bend it till it breaks | Creating a Thread |
| Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
2026-02-04 12:41 PM
but the easiest way would be to create new top level objects into which you call the original object as well as your macro. A UI will be required for your macro as GS objects hide the All Parameters tab and there is no way to override that...
Why ? , should i design a new interface for the whole object ?
2026-02-05 02:00 AM - edited 2026-02-05 02:03 AM
You just need to do the UI page for your macro. As long as all of the parameters from the original object are available, it's UI will come through if called. Easiest way to get all the parameters would be to start your object from the original GS object with cleared scripts, else you could use the LP_XMLConverter to copy them across.
Ling.
| AC22-29 AUS 3200 | Help Those Help You - Add a Signature |
| Self-taught, bend it till it breaks | Creating a Thread |
| Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
2026-02-05
09:21 AM
- last edited on
2026-02-11
08:37 PM
by
Laszlo Nagy
I called it with this line :
! Contact person: <SzL, NJ>
EPS = 0.0001
if GLOB_SCRIPT_TYPE <> 7 & GLOB_SCRIPT_TYPE <> 8 then
call "gs_general_window_macro" parameters all iWindowClass = 1, ! WINCLASS_NORMAL
iWindowType = 1 ! WIN_W1
endifI got this , i can't navigate in the interface
2026-02-05 09:31 AM - edited 2026-02-05 09:40 AM
call "gs_general_window_macro" parameters ALL,RETURNED_PARAMETERS tabIDx,iParID_WallOpening
| AC22-29 AUS 3200 | Help Those Help You - Add a Signature |
| Self-taught, bend it till it breaks | Creating a Thread |
| Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
2026-02-10 12:13 PM
Hi Again ,
Call "Object name " PARAMETERS ALL fixes the problem, it calls also the interface correctly
now i can insert macros on top ot it and call them.
i'll try