We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2015-05-19 05:18 PM - last edited on 2023-05-24 12:32 PM by Rubia Torres
2015-05-19 06:15 PM
2015-05-19 07:35 PM
laszlonagy wrote:
You would have to modify the Parameter Script of those Window objects to achieve that.
If you are interested in knowing how, we can provide you the steps...
2015-05-20 01:13 AM
LOCK "A", "B" VALUES "WindowType" "900x1200", "900x1500", "900x1800", "1200x1200", "1200x1500", "1200x1800", "1500x1500", "1500x1800" IF WindowType = "900x1200" THEN PARAMETERS A = 0.900, B = 1.200 ELSE IF WindowType = "900x1500" THEN PARAMETERS A = 0.900, B = 1.500 ELSE IF WindowType = "900x1800" THEN PARAMETERS A = 0.900, B = 1.800 ENDIF ENDIF ENDIF IF WindowType = "1200x1200" THEN PARAMETERS A = 1.200, B = 1.200 ELSE IF WindowType = "1200x1500" THEN PARAMETERS A = 1.200, B = 1.500 ELSE IF WindowType = "1200x1800" THEN PARAMETERS A = 1.200, B = 1.800 ENDIF ENDIF ENDIF IF WindowType = "1500x1500" THEN PARAMETERS A = 1.500, B = 1.500 ELSE IF WindowType = "1500x1800" THEN PARAMETERS A = 1.500, B = 1.800 ENDIF ENDIF
2015-05-20 01:18 AM
2015-05-20 02:08 AM
2015-05-20 02:27 AM
CALL "WindowTypeMacro" PARAMETERS ALLAnd you could use the Save as command on any Window object, save it under the specified macro name ("WindowTypeMacro" in this example), delete the contents of all scripts, add the WindowType parameter, and paste the PARAMETER script I have given you in my previous post into the parameter script of this macro object.
2015-06-11 03:01 PM
2015-06-11 05:34 PM
2015-06-12 03:56 PM