throw (SALOME::SALOME_Exception)
{
#if GHS3D_VERSION >= 42
- _SetEnforcedMesh(thesource, theType, -1.0);
+ _SetEnforcedMesh(theSource, theType, -1.0);
SMESH_Mesh_i* theMesh_i = SMESH::DownCast<SMESH_Mesh_i*>( theSource);
SMESH_Group_i* theGroup_i = SMESH::DownCast<SMESH_Group_i*>( theSource);
if (theGroup_i)
{
SMESH::TPythonDump () << _this() << ".SetEnforcedMesh( "
- << theSource << ", " << theType << ", " << theSize << " )";
+ << theSource << ", " << theType << " )";
}
else if (theMesh_i)
{
SMESH::TPythonDump () << _this() << ".SetEnforcedMesh( "
- << theSource << ".GetMesh(), " << theType << ", " << theSize << " )";
+ << theSource << ".GetMesh(), " << theType << " )";
}
#else
SALOME::ExceptionStruct ExDescription;
- ExDescription.text = "Bad version of GHS3D";
+ ExDescription.text = "Bad version of GHS3D. It must >= 4.2.";
ExDescription.type = SALOME::BAD_PARAM;
ExDescription.sourceFile = "GHS3DPlugin_Hypothesis::SetEnforcedMesh(theSource, theType)";
ExDescription.lineNumber = 445;