]> SALOME platform Git repositories - plugins/ghs3dprlplugin.git/blobdiff - src/GHS3DPRLPlugin/GHS3DPRLPlugin_Hypothesis_i.cxx
Salome HOME
23307: [EDF 7315] Improvement of DISTENE meshing plugins
[plugins/ghs3dprlplugin.git] / src / GHS3DPRLPlugin / GHS3DPRLPlugin_Hypothesis_i.cxx
index 5378d6ea001e047b9a35a1acdc32328a668f5e66..68cb74b00d10cf903e90ca173751b3ea248d3a09 100755 (executable)
@@ -228,6 +228,20 @@ CORBA::Float GHS3DPRLPlugin_Hypothesis_i::GetMaxSize()
   return this->GetImpl()->GetMaxSize();
 }
 
+void GHS3DPRLPlugin_Hypothesis_i::SetAdvancedOption(const char* theOptAndVals )
+{
+  if ( theOptAndVals && GetImpl()->GetAdvancedOption() != theOptAndVals )
+  {
+    GetImpl()->SetAdvancedOption( theOptAndVals );
+    SMESH::TPythonDump() << _this() << ".SetAdvancedOption( '" << theOptAndVals << "' )";
+  }
+}
+
+char* GHS3DPRLPlugin_Hypothesis_i::GetAdvancedOption()
+{
+  return CORBA::string_dup( GetImpl()->GetAdvancedOption().c_str() );
+}
+
 //=============================================================================
 /*!
  *  GHS3DPRLPlugin_Hypothesis_i::GetImpl