We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2020-08-25 03:26 PM - last edited on 2022-09-26 10:46 PM by Daniel Kassai
group "1": block 1,1,1 group "2": ADDz 1: block 2,2,2 group "3": ADDz 1+2: block 3,3,3 group "4": ADDz 1+2+3: block 4,4,4 group "5": ADDz 1+2+3+4: block 1,1,1 result=addgroup ("1", "2") result=addgroup (result, "3") result=addgroup (result, "4") result=addgroup (result, "5") placegroup result In that case (above) no vertical lines between bricks. But it isn't very good to duplicate group "1" twice, just with different placement (especially, when it's long code). I figured out that outcome will be the same, but with one additional edge/line (in case of a complex object, their amount increases rapidly). group "1": block 1,1,1 group "2": ADDz 1: block 2,2,2 group "3": ADDz 1+2: block 3,3,3 group "4": ADDz 1+2+3: block 4,4,4 result=addgroup ("1", "2") result=addgroup (result, "3") result=addgroup (result, "4") placegroup result ADDZ 1+2+3+4 placegroup "1" DEL 1The whole reason of using groups here was to decrese amount of edges...
Solved! Go to Solution.
2020-08-25 05:08 PM
group "object": block 1,1,1 ADDz 1 block 2,2,2 del 1 ADDz 1+2 block 3,3,3 del 1 ADDz 1+2+3 block 4,4,4 del 1 ADDz 1+2+3+4 block 1,1,1 del 1 endgroup res = addgroup ("object", "object") placegroup resAll inner edges were removed.
2020-08-25 05:08 PM
group "object": block 1,1,1 ADDz 1 block 2,2,2 del 1 ADDz 1+2 block 3,3,3 del 1 ADDz 1+2+3 block 4,4,4 del 1 ADDz 1+2+3+4 block 1,1,1 del 1 endgroup res = addgroup ("object", "object") placegroup resAll inner edges were removed.
2020-08-26 07:34 AM
2020-08-26 07:40 AM
2020-08-26 08:59 AM
A. wrote:I would use subroutines so you can use identical parts several times.
I wish there were better solution. Because in my case instead of that "block 1,1,1" I have 30 rows of code...
group "object": gosub "geometry_1" addz dist_2 gosub "geometry_2" addz dist_3 gosub "geometry_3" ... addz dist_5 gosub "geometry_1" endgroup res = addgroup ("object", "object") placegroup res killgroup res killgroup "object"
2020-08-27 11:49 AM