SALOMEDS::StudyBuilder_var aStudyBuilder = myStudy->NewBuilder();
if(myAddToStudy) aStudyBuilder->NewCommand(); // There is a transaction
try{
- if(myResult->GetInput() == NULL)
- throw std::runtime_error("Mesh_i::Build - myResult->GetInput() == NULL !!!");
- myField = myResult->GetInput()->GetField(myMeshName,myEntity,myFieldName);
- if(myField == NULL) throw std::runtime_error("There is no Field with the parameters !!!");
- VISU_Convertor::TOutput *anOutput =
- myResult->GetInput()->GetTimeStampOnMesh(myMeshName,myEntity,myFieldName,myIteration);
- if(anOutput == NULL) throw std::runtime_error("There is no TimeStamp with the parameters !!!");
- myScalarMapPL->SetInput(anOutput);
- myScalarMapPL->Build();
+ DoSetInput(myResult);
QString aComment;
myName = "NoName";
if(theRestoring <= 0){