# ASE Loop

Hello,
Is it possible to create or calculate several axis runs via a loop?

``````+prog template urs:145.1
KOPF Def Variable
sto#x 0
sto#VZ 1
sto#i 0
ENDE

\$let#x 0
\$let#VZ 1

loop#i 2

+PROG ASE urs:15.2 \$ Berechnung Einzellastfälle (ohne Trog)
KOPF Berechnung Einzellastfälle (ohne Trog)
STEU OPT SOLV WERT - \$  Lösung des Systems

TAKT GRP (  11  13 1) dx     #x[m]     0.000[m]     0.000[m]
TAKT GRP (  21  23 1) dx     #x[m]     0.000[m]     0.000[m]
TAKT GRP (  31  33 1) dx     #x[m]     0.000[m]     0.000[m]
TAKT GRP (  41  43 1) dx     #x[m]     0.000[m]     0.000[m]

LF  #VZ*100+1  TYP G BEZ "VZ #VZ m EG+Schalung" \$ Eigengewicht ueber GRUP FAKG anstelle EGZ
LC 1

loop#i0 59
let#LF  #VZ*100+2+#i0

LF  #VZ*100+2+#i0  TYP Q BEZ "VZ #VZ m Arbeitsbetrieb #i0" \$ Eigengewicht ueber GRUP FAKG anstelle EGZ
LC 2+#i0

let#i0 #i0+1
endloop

LF  #VZ*100+61  TYP W BEZ "VZ #VZ m Wind" \$ Eigengewicht ueber GRUP FAKG anstelle EGZ
LC 61

LF  #VZ*100+63  TYP W BEZ "VZ #VZ m 2V/100" \$ Eigengewicht ueber GRUP FAKG anstelle EGZ
LC 62

let#x #x-2
let#VZ #VZ+1

ENDE

let#i #i+1
endloop

``````

@MaxMax Please use "iter " option to do iterative analysis instead of using loop.
As far I know it is not possible to use loop across modules.

For details refer “2.9.6 Iterative Analysis with Multiple Modules” in main manual " Sofistik_1.pdf"

1 Like