2021-01-19 04:04 PM - last edited on 2021-09-14 01:28 PM by Noemi Balogh
2021-01-19 06:01 PM
2021-01-19 07:16 PM
if GLOB_SCRIPT_TYPE = 7 | GLOB_SCRIPT_TYPE = 8 then goto "MasterEnd" ! forward migration, backward migration call "gs_general_door_macro_USA" parameters all gs_doorcode = "D1 Commercial"
Peter wrote:
Hi Narska,
There is a macro call in the master script that is executed before each 2d script. Add a condition based on GLOB_SCRIPT_TYPE to skip it in 2d.
2021-01-20 08:57 AM
if GLOB_SCRIPT_TYPE = 7 | GLOB_SCRIPT_TYPE = 8 | GLOB_SCRIPT_TYPE = 2 then goto "MasterEnd" ! forward migration, backward migration, 2D
call "gs_general_door_macro_USA" parameters all gs_doorcode = "D1 Commercial"
2021-02-06 11:54 PM
Peter wrote:
It has to be in the master script because the master script would call the macro before executing the first line of the 2d script, and thus the macro 2d script would be executed before the object's.
if GLOB_SCRIPT_TYPE = 7 | GLOB_SCRIPT_TYPE = 8 | GLOB_SCRIPT_TYPE = 2 then goto "MasterEnd" ! forward migration, backward migration, 2D
call "gs_general_door_macro_USA" parameters all gs_doorcode = "D1 Commercial"