Salome HOME
Debug
[modules/smesh.git] / src / SMESH_I / SMESH_NoteBook.cxx
index d064e6d7a6498a9fd4126bbac0238d0eb812220f..47de62ed438d82e4c5770e36a9f8afabad63e323 100644 (file)
@@ -290,6 +290,16 @@ void SMESH_NoteBook::ReplaceVariables()
             aCmd->SetArg(1,aStates->GetCurrectState().at(1));
           //aStates->IncrementState();
         }
+        if(aMethod == "SetStartLength" &&
+           aStates->GetCurrectState().size() >= 2) {
+          if(!aStates->GetCurrectState().at(0).IsEmpty() )
+            aCmd->SetArg(1,aStates->GetCurrectState().at(0));
+        }
+        if(aMethod == "SetEndLength" &&
+           aStates->GetCurrectState().size() >= 2) {
+          if(!aStates->GetCurrectState().at(1).IsEmpty() )
+            aCmd->SetArg(1,aStates->GetCurrectState().at(1));
+        }
       }
       
       //Case for Deflection1D hypothesis