cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

GDL
About building parametric objects with GDL.

Can the expression of the current floor and the upper floor be different in 2D Script?

LeeJaeYoung
Virtuoso

LeeJaeYoung_0-1686315508540.png

I want to know if it is possible because it seems to be expressed like that on the stairs.
I just want to know if it is possible to show the current 2d script in position.
What I want is to be able to express different expressions on the upper and lower floors like the stairs. ^^

AC27 on window 11
2 REPLIES 2
kuvbur
Enthusiast

Yes, you can, with GLOB_CH_STORY_DIST

EPS = 0.00001
if GLOB_CH_STORY_DIST > EPS then
	!upper  floor script
else
	if abs(GLOB_CH_STORY_DIST) < EPS then
		!home floor script
	else
		!down floor script
	endif
endif

Structural engineer, developer of free addon for sync GDL param and properties

LeeJaeYoung
Virtuoso

thank you. ^^
I think Aki is really fun.
I think imagination comes first

AC27 on window 11