1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
3 // File: SketchShapePlugin_Feature.cpp
4 // Created: 25 Nov 2015
5 // Author: Natalia ERMOLAEVA
7 #include "SketchShapePlugin_Feature.h"
9 #include <ModelAPI_AttributeSelection.h>
10 #include <ModelAPI_AttributeSelectionList.h>
11 #include <ModelAPI_AttributeBoolean.h>
13 SketchShapePlugin_Feature::SketchShapePlugin_Feature()
18 void SketchShapePlugin_Feature::initAttributes()
20 data()->addAttribute(SKETCH_ID(), ModelAPI_AttributeSelection::typeId());
21 data()->addAttribute(VERTEX_LIST_ID(), ModelAPI_AttributeSelectionList::typeId());
22 data()->addAttribute(VERTEX_CHOICE_ID(), ModelAPI_AttributeBoolean::typeId());
25 void SketchShapePlugin_Feature::execute()
29 void SketchShapePlugin_Feature::attributeChanged(const std::string& theID)