We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

GDL
About building parametric objects with GDL.
SOLVED!

Wall hole offset in 3D but not in floor plan

jc4d
Expert

Hello,

 

I have created a custom wallhole with some offset parameters, the thing is it shows in 3D but is not reflected in the floor plan. This shouldn't be automatic?

 

3D script:

PUT  A/2+left_tol, -B, 15,
	 A/2+left_tol,  0, 15,
	 A/2+left_tol,  B, 15,
	-A/2,  B, 15,
	-A/2,  0, 15,
	-A/2, -B, -1
WALLHOLE NSP/3,2,GET(NSP)

jc4d_0-1676534386386.png

Floor plan:

jc4d_1-1676534415328.png

Juan.

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Barry Kelly
Moderator

Try adding the offsets in the 'Compatibility Options' as well.

 

BarryKelly_0-1676538341220.png

 

If that doesn't work, I believe you can script a WALLHOLE2 in 2D as well.

 

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

5 REPLIES 5
Solution
Barry Kelly
Moderator

Try adding the offsets in the 'Compatibility Options' as well.

 

BarryKelly_0-1676538341220.png

 

If that doesn't work, I believe you can script a WALLHOLE2 in 2D as well.

 

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
MetalFingerz
Advocate

I use WALLHOLE2 in 2D to be sure that the result in floor plan behaves the same way as the WALLHOLE in 3D

Do they might behave different if WALLHOLE2 is not used?

Not certain to be honest but I always use the corresponding 2D command myself as a rule. If @Barry Kelly 's solution work then you can stick to it.

Yes, see the notes at WALLHOLE.

 

Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest