GDL
About building parametric objects with GDL.
SOLVED!

I want to know the name of the parameter variable in the parameter script easily.

LeeJaeYoung
Virtuoso

LeeJaeYoung_0-1678343893086.png

I want to know the name of the parameter variable in the parameter script easily. Is there any easy way to find it?
Right now I want to know the name of the image above.

 

AC27 on window 11
14 REPLIES 14

Even today, I am touched by your kindness.
thank you
Have a happy time ^^

AC27 on window 11

However, in the master script
PRINT GLOB_MODPAR_NAME
I put PRINT GLOB_MODPAR_NAME in the 2d script, but it is not displayed?
I changed the window width 1200 > 1800 > 2000 .....

 

C:\Program Files\GRAPHISOFT\Archicad 26\Archicad.exe
Unused in temporary folder : 15416.3 MB
Conversion of Objects to MEP elements begin.
Statistics:
Checked elements: 16.
Objects without MEP elements removed: 0/0.
MEP compatible elements converted: 0/0.
Inconsistent elements: 0/0.
Derived data updated: 0/0.
MEP structure created: 0/0.
Segments with unconnected holes: 0/0.
Repair function #1: 0.
Converted to Objects: 0/0
Conversion of Objects to MEP elements end.
Projection : Front view
Camera azimuth : 270
Start time : 2023-03-17 오전 7:35:21

(DOO - 034 | 4C6E8839-CCE3-4291-AFAE-A681987ACA80)
(DOO - 034 | 4C6E8839-CCE3-4291-AFAE-A681987ACA80)
(DOO - 034 | 127B155E-303E-4EDA-AEFC-BE6F7D7F9E99)
(DOO - 034 | 4C6E8839-CCE3-4291-AFAE-A681987ACA80)
(DOO - 034 | 127B155E-303E-4EDA-AEFC-BE6F7D7F9E99)
(DOO - 034 | 4C6E8839-CCE3-4291-AFAE-A681987ACA80)
(DOO - 034 | 4C6E8839-CCE3-4291-AFAE-A681987ACA80)
(DOO - 034 | 4C6E8839-CCE3-4291-AFAE-A681987ACA80)
Start time : 2023-03-17 오전 10:19:44
End time : 2023-03-17 오전 10:19:44
Elapsed time : 0 seconds
----------------------------------------------------------------------
(DOO - 034 | 4C6E8839-CCE3-4291-AFAE-A681987ACA80)
(DOO - 034 | 4C6E8839-CCE3-4291-AFAE-A681987ACA80)
(DOO - 034 | 4C6E8839-CCE3-4291-AFAE-A681987ACA80)
(DOO - 034 | 127B155E-303E-4EDA-AEFC-BE6F7D7F9E99)
(DOO - 034 | 127B155E-303E-4EDA-AEFC-BE6F7D7F9E99)
(DOO - 034 | 4C6E8839-CCE3-4291-AFAE-A681987ACA80)
(DOO - 034 | 4C6E8839-CCE3-4291-AFAE-A681987ACA80)
(DOO - 034 | 4C6E8839-CCE3-4291-AFAE-A681987ACA80)
(DOO - 034 | 4C6E8839-CCE3-4291-AFAE-A681987ACA80)
Projection : Front view
Camera azimuth : 270
Start time : 2023-03-17 오전 10:20:55
End time : 2023-03-17 오전 10:20:55
Elapsed time : 0 seconds
----------------------------------------------------------------------

AC27 on window 11
Solution

I just tried and it seems to work best in Parameter script.

Master script is run more often so you will get more messages.

Doesn't work in the 2D/3D script.

Also with width and height you have to open the object settings and adjust parameters there because that is where you adjust other parameters.

Doesn't work with changes you make in the info box.

 

BarryKelly_0-1679021412018.png

 

Also in your Work Environment, make sure you have 'Write Report' turned on and maybe set it to full report.

BarryKelly_1-1679021660281.png

 

BarryKelly_2-1679021674980.png

 

BarryKelly_3-1679021953623.png

 

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

gs_Leaf_width_open (DOO - 034 | 4C6E8839-CCE3-4291-AFAE-A681987ACA80)

 

thank you
Today, with your help, I go up one step.^^
But since it's GDL I made, there are a lot of numbers after the recognition, is that okay?

AC27 on window 11

@LeeJaeYoung wrote:

But since it's GDL I made, there are a lot of numbers after the recognition, is that okay?


That is just the element ID and maybe the object GUID.

Just ignore what is in the brackets.

You just need to know the parameter name.

 

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