Params = []
for parameter in parameters:
if isinstance(parameter, str):
- Result.append(notebook.get(parameter))
+ p = notebook.get(parameter)
+ if p==None:
+ notebook.getNotebook().AddExpression(parameter)
+ p = notebook.get(parameter)
+ Result.append(p)
Params.append(parameter)
else:
Result.append(parameter)
# \n @ref swig_MakeCommon "Example 2"
def MakeFuse(self, s1, s2):
# Example: see GEOM_TestOthers.py
- return self.MakeBoolean(s1, s2, 3)
+ res = self.MakeBoolean(s1, s2, 3)
+ res.StoreDependencies( notebook.getNotebook() )
+ return res
## Shortcut to MakeBoolean(s1, s2, 4)
#