mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-15 20:00:37 +05:00
Implementation notebook in the SMESH module.
This commit is contained in:
parent
472ffc5908
commit
246b043ec9
@ -4229,9 +4229,12 @@ def ParseParameters(last, nbParams,nbParam, value):
|
||||
else:
|
||||
strResult = strResult + ""
|
||||
else:
|
||||
if isinstance(value, str) and notebook.isVariable(value):
|
||||
result = notebook.get(value)
|
||||
strResult=strResult+value
|
||||
if isinstance(value, str):
|
||||
if notebook.isVariable(value):
|
||||
result = notebook.get(value)
|
||||
strResult=strResult+value
|
||||
else:
|
||||
raise RuntimeError, "Variable with name '" + value + "' doesn't exist!!!"
|
||||
else:
|
||||
strResult=strResult+str(value)
|
||||
result = value
|
||||
|
Loading…
Reference in New Issue
Block a user