${CMAKE_SOURCE_DIR}/src/GeomDataAPI
${CMAKE_SOURCE_DIR}/src/GeomAlgoAPI
${CMAKE_SOURCE_DIR}/src/SketchPlugin
+ ${CMAKE_SOURCE_DIR}/src/ExchangePlugin
${CMAKE_SOURCE_DIR}/src/SketcherPrs
${CMAKE_SOURCE_DIR}/src/FeaturesPlugin
${CMAKE_SOURCE_DIR}/src/PartSetPlugin
#include <ModelAPI_AttributeString.h>
+#include <ExchangePlugin_ExportFeature.h>
+
PartSet_WidgetFileSelector::PartSet_WidgetFileSelector(QWidget* theParent,
ModuleBase_IWorkshop* theWorkshop,
const Config_WidgetAPI* theData,
return false;
DataPtr aData = myFeature->data();
- AttributeStringPtr aStringAttr = aData->string("export_file_format");
+ AttributeStringPtr aStringAttr = aData->string(ExchangePlugin_ExportFeature::FILE_PATH_ID());
mySelectedFilter = formatToFilter(shortFormatToFullFormat(QString::fromStdString(aStringAttr->value())));
return ModuleBase_WidgetFileSelector::restoreValueCustom();
return false;
DataPtr aData = myFeature->data();
- AttributeStringPtr aStringAttr = aData->string("export_file_format");
+ AttributeStringPtr aStringAttr = aData->string(ExchangePlugin_ExportFeature::FILE_PATH_ID());
aStringAttr->setValue(filterToShortFormat(mySelectedFilter).toStdString());
return ModuleBase_WidgetFileSelector::storeValueCustom();