We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2019-09-23 02:45 PM
for i=1 to 40 cprism_{4} mat_hatching, mat_hatching, mat_hatching, 7, 5, line_height, 0, 0, 0, 15, mat_hatching, 10, 0, 0, 15, mat_hatching, 10, hatching_width, 0, 15, mat_hatching, 0, hatching_width, 0, 15, mat_hatching, 0, 0, 0, -1, mat_hatching addy hatching_space next i DEL 40 DEL 2 addy 10 rotz -45 for i=1 to 40 cprism_{4} mat_hatching, mat_hatching, mat_hatching, 7, 5, line_height, 0, 0, 0, 15, mat_hatching, 10, 0, 0, 15, mat_hatching, 10, hatching_width, 0, 15, mat_hatching, 0, hatching_width, 0, 15, mat_hatching, 0, 0, 0, -1, mat_hatching addy -hatching_space next iThanks
2019-09-24 03:45 AM
shape[i+1] = ADDGROUP ( shape_cprism, shape )
PLACEGROUP shape FOR ii = 1 to 40 KILLGROUP shape[ii] NEXT ii
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2019-09-24 03:53 AM
2019-09-24 10:42 AM
Lingwisyer wrote:I tried this but I get a "Group name or group expression required at line..." error.
Could you take your cprism out of the loop and put it into a GROUP. Then within your loop, have:shape[i+1] = ADDGROUP ( shape_cprism, shape )
Then after your loop have:PLACEGROUP shape FOR ii = 1 to 40 KILLGROUP shape[ii] NEXT ii
group "shape_cprism1" cprism_{4} mat_hatching, mat_hatching, mat_hatching, 7, 5, line_height, 0, 0, 0, 15, mat_hatching, 10, 0, 0, 15, mat_hatching, 10, hatching_width, 0, 15, mat_hatching, 0, hatching_width, 0, 15, mat_hatching, 0, 0, 0, -1, mat_hatching endgroup dim shape[] for i=1 to 40 shape[i+1] = ADDGROUP (shape_cprism1, shape) addy hatching_space next i DEL 40 DEL 2 PLACEGROUP shape for ii=1 to 40 KILLGROUP shape[ii] next ii
2019-09-24 11:23 AM
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |