0020945: EDF 1465 SMESH: create a new mesh from a selected group or from selected elements

wrap CopyMesh()
This commit is contained in:
eap 2010-11-30 16:57:18 +00:00
parent 813ff2ee4a
commit 9e91777707

View File

@ -352,7 +352,7 @@ void _pyGen::Process( const Handle(_pyCommand)& theCommand )
myMeshes.insert( make_pair( mesh->GetID(), mesh ));
return;
}
if ( method == "CreateMeshesFromUNV" || method == "CreateMeshesFromSTL")
if ( method == "CreateMeshesFromUNV" || method == "CreateMeshesFromSTL" || method == "CopyMesh" )
{
Handle(_pyMesh) mesh = new _pyMesh( theCommand, theCommand->GetResultValue() );
myMeshes.insert( make_pair( mesh->GetID(), mesh ));