enforcedMeshes.push_back({ meshID, partID, partType, inEM.groupName.in() });
}
+ if ( GetImpl()->GetEnforcedMeshes() == enforcedMeshes )
+ return;
+
this->GetImpl()->SetEnforcedMeshes( enforcedMeshes );
// dump
pyDump << "'" << inEM.groupName.in() << "'";
else
pyDump << "''";
- pyDump << ")" << ( i + 1 < theMeshes.length() ? ", " : "])");
+ pyDump << ")" << ( i + 1 < theMeshes.length() ? ", " : "");
}
+ pyDump << "])";
}
//=============================================================================
if (string(theGroupName).empty())
SMESH::TPythonDump() << _this() << ".AddEnforcedVertex(" << x << ", " << y << ", " << z << ")";
else
- SMESH::TPythonDump() << _this() << ".AddEnforcedVertexWithGroup(" << theFaceEntry << ", " << x << ", " << y << ", " << z << ", \"" << theGroupName << "\")";
+ SMESH::TPythonDump() << _this() << ".AddEnforcedVertexWithGroup(" << x << ", " << y << ", " << z << ", \"" << theGroupName << "\")";
}
else {
if (string(theGroupName).empty())