BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

GDL
About building parametric objects with GDL.
SOLVED!

Recursive parameter update

jc4d
Expert

Hello,

I have set two different values for A by selecting the size via dropdown.

Parameters:

 

VALUES "cab_type", "Pysty", "Vaaka"

 

 

jc4d_0-1663052398574.png

 

Master:

 

 

IF cab_type = "Pysty" THEN
	A = 1.55
ELSE
	A = 2.00
ENDIF

 

 

The issue is that no matter what option I choose from the dropdown, the value A in the Object Selection Settings it doesn't reflect the new value.

jc4d_1-1663052688173.png

 

Is there a way to see the new value updated?

 

Juan.

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Barry Kelly
Moderator

You have only set the value of A - which will be used in al further calculations.

You also need to set the Parameter as well which is what the user sees.

 

 

IF cab_type = "Pysty" THEN
	A = 1.55
ELSE
	A = 2.00
ENDIF
PARAMETERS A = A

 

 

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

View solution in original post

1 REPLY 1
Solution
Barry Kelly
Moderator

You have only set the value of A - which will be used in al further calculations.

You also need to set the Parameter as well which is what the user sees.

 

 

IF cab_type = "Pysty" THEN
	A = 1.55
ELSE
	A = 2.00
ENDIF
PARAMETERS A = A

 

 

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
Learn and get certified!