when using this function in modelling script, nothing happened when running. no window pop out nor error message shown for both Windows and Linux.