print get_exec_pars().getCommand(False).parent != None #inject() #globals().update(get_context().scriptManager.injections) set_exec_pars(name="in") #tscan(sin, 10, 0.1) #tscan(sin, 10, 0.1, name="yyy", layout = "SF") tscan(sin, 10, 0.1, name="yyy", layout = "SF") tscan(sin, 10, 0.1,open=False) #tscan(sin, 10, 0.1) print "LOADED" """ def test(): #globals().update(get_context().scriptManager.injections) ##dev = None #inject() stop() inject() print 2* dev.read() """