// context->myDocument = 0;
// }
+ myCurrentStudy = SALOMEDS::Study::_nil();
return;
}
}
}
+int SMESH_Gen_i::GetCurrentStudyID()
+{
+ return myCurrentStudy->_is_nil() || myCurrentStudy->_non_existent() ? -1 : myCurrentStudy->StudyId();
+}
+
//=============================================================================
/*!
* SMESHEngine_factory
}
// Get current study ID
- int GetCurrentStudyID()
- { return myCurrentStudy->_is_nil() ? -1 : myCurrentStudy->StudyId(); }
+ int GetCurrentStudyID();
/*!
* \brief Find SObject for an algo