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

how to use the wallhole2 command

Anonymous
Not applicable
Hello,
I'm trying to wrap my head around how to use the wallhole2 command, but I can't quite figure it out.

I created a new object with only the following in the 2d script:

temp4=.5

pen 1
mul2 -1, -1
add2 -a/2, 0

!used for reference
line2 0, 0, 0, wall_thickness
line2 a, 0, a, wall_thickness
line2 a+temp4, 0, a+temp4, wall_thickness

wallhole2 5, 2, 10, 10, 0, 0, 0, 
	0, 0, 0, 
	0, wall_thickness, 0, 
	a+temp4, wall_thickness, 0, 
	a+temp4, 0, 0, 
	0, 0, -1

del top
which, if I have understood the description of the command correctly, should create an opening of width "a+temp4", instead of the usual width of "a". However, the script only draws the three lines I created for reference, and the opening stays the same. Am I missing something? I have attached an image of how it looks now.

(I also took a look at this thread, but it still didn't work?, https://archicad-talk.graphisoft.com/viewtopic.php?f=6&t=27382)
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Barry Kelly
Moderator
I don't know why it doesn't show in the 2D preview window of the script editor,
But it will show when you place the window in an actual wall.

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

View solution in original post

2 REPLIES 2
Solution
Barry Kelly
Moderator
I don't know why it doesn't show in the 2D preview window of the script editor,
But it will show when you place the window in an actual wall.

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
Anonymous
Not applicable
Huh, it appears you're right,

thanks for the reply!