]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ExchangePlugin/ExchangePlugin_ImportFeature.cpp
Salome HOME
Improve Model package coverage: remove unused methods, open/save tests improvements
[modules/shaper.git] / src / ExchangePlugin / ExchangePlugin_ImportFeature.cpp
index b8b864acc2d034e259d31729d56ee1932a88bd0f..c40bffec08ca63303a6f9917e3f0247e48d31ce6 100644 (file)
@@ -201,13 +201,6 @@ void ExchangePlugin_ImportFeature::importXAO(const std::string& theFileName)
     aSelectionList->setSelectionType(aSelectionType);
     for (int anElementIndex = 0; anElementIndex < aXaoGroup->count(); ++anElementIndex) {
       aSelectionList->append(aResultBody, GeomShapePtr());
-      // complex conversion of element index to reference id
-      int anElementID = aXaoGroup->get(anElementIndex);
-      std::string aReferenceString =
-          aXaoGeometry->getElementReference(aXaoGroup->getDimension(), anElementID);
-      int aReferenceID = XAO::XaoUtils::stringToInt(aReferenceString);
-
-      aSelectionList->value(anElementIndex)->setId(aReferenceID);
     }
   }
   // Create new fields