From b99bead3b386a89ac2467d61933e27d3c47ca97b Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 17 Apr 2015 14:56:43 +0300 Subject: [PATCH] Fix for issue #404 --- src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py b/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py index 26ab3ca9f..924130843 100644 --- a/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py +++ b/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py @@ -84,9 +84,11 @@ class ExportFeature(ModelAPI.ModelAPI_Feature): for anIndex in range(0, aFeaturesNum): aFeature = self.Part.object("Features", anIndex) aSelectionList = aFeature.data().selectionList("group_list") - aName = aFeature.data().name() # if a group has been found if aSelectionList: + aFeature = ModelAPI.objectToFeature(aFeature) + if aFeature.firstResult() is not None: + aName = aFeature.firstResult().data().name() groupIndex = groupIndex + 1 self.createGroupFromList(aSelectionList, aName) -- 2.39.2