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

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Alternate wall direction changes window position

Aussie John
Newcomer
This has been bugging me for a while.
I am finding if i create a window the position changes depending on the wall direction (ie mirror the wall perpendicular to window.

Below is a script which mimics the structure of a composite wall. Placing it in a wall and making a mirror copy of the wall gives the result in the attached file.

I also find that if the wall is mirrored then the skin numbers work from the opposite side of the wall which is rather annoying.

Can anyone give me some hints here? thanks


!2D Script

row=1
add2 -a/2,0
for i=1 to wall_skins_number

skinF=wall_skins_params [row][1] !!skin fill
skinT=wall_skins_params [row][2] !!skin thickness

FILL skinF
poly2_ 5,3,
0,0,1,
a,0,0,
a,-skinT,1,
0,-skinT,0,
0,0,1

add2 0,-skinT
row=row+1

next i
del wall_skin_number
del 1

Wall flip.png
Cheers John
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019
[/size]
2 REPLIES 2
Anonymous
Not applicable
Hi John,


I think you have to use the "SYMB_MIRRORED "
and pay attention to
WIDO_ORIENTATION , SYMB_ROTANGLE
and other (see the Global/ general element Parameters)


ie.:
IF SYMB_MIRRORED THEN MUL2 1,-1

row=1
add2 -a/2,0
....


CU mirco
Aussie John
Newcomer
i've discovered i can use E~ too ( symbol flipped)
Cheers John
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019
[/size]