-// Copyright (C) 2011-2016 CEA/DEN, EDF R&D
+// Copyright (C) 2011-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
commands += "";
commands += "from medcalc.medconsole import saveWorkspace, cleanWorkspace";
commands += "from medcalc.medconsole import putInWorkspace, removeFromWorkspace";
- commands += "from medcalc.medconsole import accessField";
+ commands += "from medcalc.medconsole import accessField, view";
commands += "from medcalc.medconsole import getEnvironment, ls, la";
commands += "";
this->exec(commands);
MEDCALC::MEDCommandsHistoryManager_ptr history = MEDFactoryClient::getCommandsHistoryManager();
QStringListIterator it(commands);
- int i = 0;
while (it.hasNext()) {
const QString& command = it.next();
_pyConsole->exec(command);