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

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

clapboard section

Anonymous
Not applicable
i am making an object that is the section of clapboard. i've made the hotspots stretchable but i want the shape that i have put in the 2d script to repeat as far as i want it to along the y axis. what would be the correct funtion to use?
8 REPLIES 8
Anonymous
Not applicable
Just use a for ... next loop.

for k = 1 to yItems
blablabla ! your script
add2 0, y ! y displacement
next k

del yItems

Same thing for 3D script.

Cheers.
Anonymous
Not applicable
blablabla? not sure if that means i should know to put something there. ummm but all my lines dissappeared
Anonymous
Not applicable
keenen wrote:
blablabla? not sure if that means i should know to put something there. ummm but all my lines dissappeared
In place of blablabla, type your current script. That's all.
Or if you prefer, at the top of your 2D script type:

for k = 1 to 10 (define your number)

your current script

at the end of your script, type
add2 0, 10
next k
del 10
Anonymous
Not applicable
OK. my lines are back. but it isn't repeating them.
Anonymous
Not applicable
If you are in AC 10, look at the code for DET_Brick Coursing 10.gsm.
You will see what Olivier is talking about.
Peter Devlin
Anonymous
Not applicable
Hi Peter,

@ keenen, i did a mistake.
add2 0, y ! y is the value of displacement on y axis
next k
del 10
Anonymous
Not applicable
Hello Olivier
Anonymous
Not applicable
thanks for the help