Hello,
I am trying to modify the axial spring constant of existing springs that meet the condition (#P<0). However, when I open the result viewer, it appears that only the first spring in the loop (number 3011001 in my case) is modified.
I made sure that there are indeed other springs meeting the same condition but their axial constants remain unchanged.
My script is as follows:
+PROG SOFIMSHA
SYST TYPE REST
LET#CDB_IER 0
@KEY SPRI
LOOP 999
LOOP 999
IF #CDB_IER<2
LET#SNR @(NR)
IF (#SNR>3010000)
LET#KNR MOD(#SNR,10000)
IF #P(#KNR)<0
SPRI NO PROP CP 0
MOD TYPE SPRI FROM #SNR TO #SNR
ENDIF
ENDIF
ENDIF
ENDLOOP #CDB_IER<2
ENDLOOP #CDB_IER<2
END
Could you help me understand why it does so?
Thank you.