IPAL21444 Problem of Dumps study after reading IGES file

This commit is contained in:
dmv 2009-10-29 14:21:46 +00:00
parent 613a6ae637
commit 5878f0928c

View File

@ -240,8 +240,10 @@ Handle(GEOM_Object) GEOMImpl_IInsertOperations::Import
}
//Make a Python command
GEOM::TPythonDump(aFunction) << result << " = geompy.Import(\""
<< theFileName.ToCString() << "\", \"" << theFormatName.ToCString() << "\")";
if( theFormatName != "IGES_UNIT" ) {
GEOM::TPythonDump(aFunction) << result << " = geompy.Import(\""
<< theFileName.ToCString() << "\", \"" << theFormatName.ToCString() << "\")";
}
SetErrorCode(OK);