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.

Doesn't the 3D script take the master scripter's variable values? In the 2d script, it takes a value

LeeJaeYoung
Virtuoso

Doesn't the 3D script take the master scripter's variable values?
In the 2d script, it takes a value.....

 

Shouldn't I use an if statement?

AC27 on window 11
14 REPLIES 14
LeeJaeYoung
Virtuoso

WALL_FLIPPED doesn't work in 3D

WALL_FLIPPED doesn't work in 3D - Graphisoft Community

 

I still don't understand.
Passing the value from Master to wall_flipped as another variable does not work.
The conclusion seems to be that all values should be done in master and only those values should be used.
I spent the whole day on this today.
I believe that bugs should be fixed as soon as possible.

 

Master script

IF ((SGN(SYMB_ROTANGLE) = 0) & (WALL_FLIPPED = 0)) Then
    npen = 1
ENDIF
IF ((SGN(SYMB_ROTANGLE) = 0) & (WALL_FLIPPED = 1)) Then
     npen = WALL_SKINS_NUMBER
ENDIF

3d script
print "xx"
print npen
TEXT 0.3, 0, npen
LeeJaeYoung_0-1683733762174.png

 

LeeJaeYoung_1-1683733781286.png
 
xx (WD - 003 | 15AAE85E-ECC7-48F2-9214-37F58DDBB692)
xx (WD - 003 | 15AAE85E-ECC7-48F2-9214-37F58DDBB692)
1 (WD - 003 | 15AAE85E-ECC7-48F2-9214-37F58DDBB692)
xx (WD - 003 | 15AAE85E-ECC7-48F2-9214-37F58DDBB692)
xx (WD - 003 | 15AAE85E-ECC7-48F2-9214-37F58DDBB692)
1 (WD - 003 | 15AAE85E-ECC7-48F2-9214-37F58DDBB692)
1 (WD - 003 | 15AAE85E-ECC7-48F2-9214-37F58DDBB692)

And this was also tested at 25.
Can not be done.

 

Value does not change.
How can i solve it?

 

 
AC27 on window 11

One of the doors I wrote for composites I figured this out, but I don't use composite walls with more than one skin anymore so that door is somewhere in my archives.

Assuming I understand what you are after it is possible but it will be a minute before I have time to go digging.

Hi,

i used the WALL_MAT_A, WALL_MAT_B system to identify outside vs inside of walls (before Archicad 22 introduced WALL_FLIPPED variable)

it is more complicated than "WALL_FLIPPED",

but

the "WALL_FLIPPED"  does not work in the 3D Window/Elevation window...

but does work the 2D window.

I have been using ArchiCAD continually since ArchiCAD 4.5, 4.5.5, 5, 5.1, 6, 6.5, 7, 8, 8.1, 9, 10, 11, 12, 13, 15, 18, 21, 22, 25, now testing 27
Member of Architalk since 2003, but missed the migration to Graphisoft.
(where have all my original posts gone?)

Where should I look to learn how to identify the exterior and interior of a wall with WALL_MAT_A WALL_MAT_B? Is there a gsm where I can see the code?

AC27 on window 11
Lingwisyer
Guru

https://community.graphisoft.com/t5/Developer-forum/WALL-FLIPPED-doesn-t-work-in-3D/m-p/257116/highl...

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

thank you. ^^
I will study hard.

AC27 on window 11

Hopefully that is what you were looking for

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

It is judged that WALL_MAT_A is not related to WALL_FLIPPED, but rather related to SGN (SYMB_ROTANGLE).
Therefore, it seems that WALL_MAT_A value cannot determine whether it is inside or outside in 3D.
I don't understand the code you gave yet, but it seems there is an IF statement option, and I'm thinking of turning it on in 3D.

Am I wrong?

AC27 on window 11
Lingwisyer
Guru

I believe I have determined inside from outside using WIDO_REVEAL_SIDE.

 

	IF WIDO_REVEAL_SIDE = 1 then
			WALL_MAT = WALL_MAT_A
		else
			WALL_MAT = WALL_MAT_B
	endIF

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