We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2015-07-29 06:45 PM
!---- Master Script gap = 0.5 IF method = 1 THEN h1 = B h2 = B+gap ELSE h1 = B-gap h2 = B ENDIF !--- Parameter Script VALUES "method" 1, 2 IF GLOB_MODPAR_NAME = "method" THEN IF method = 1 THEN PARAMETERS B = B-gap ELSE PARAMETERS B = B+gap ENDIF ENDIF !--- 2D Script RECT2 0, 0, A, h1 ADD2 1, 0 RECT2 0, 0, A, h2 DEL 1
!--- Parameter Script VALUES "method" 1, 2 IF GLOB_MODPAR_NAME = "method" THEN IF method = 1 THEN PARAMETERS B = B-(gap/2) ELSE PARAMETERS B = B+(gap/2) ENDIF ENDIF
Solved! Go to Solution.
2015-07-31 01:37 AM
Michael wrote:
This should do it.
n = APPLICATION_QUERY ("PARAMETER_SCRIPT", "FIRSTOCCASION_IN_PROGRESS", isFirstRun) IF isFirstRun THEN A=A+1 ELSE A=A ENDIF
2015-07-29 06:49 PM
2015-07-31 01:37 AM
Michael wrote:
This should do it.
n = APPLICATION_QUERY ("PARAMETER_SCRIPT", "FIRSTOCCASION_IN_PROGRESS", isFirstRun) IF isFirstRun THEN A=A+1 ELSE A=A ENDIF
2015-08-21 09:00 AM