- if (theFeatureID == "Point") {
- return boost::shared_ptr<ModelAPI_Feature>(new ConstructionPlugin_Point);
+ if (theFeatureID == ConstructionPlugin_Point::ID()) {
+ return FeaturePtr(new ConstructionPlugin_Point);
+ }
+ else if (theFeatureID == ConstructionPlugin_Axis::ID()) {
+ return FeaturePtr(new ConstructionPlugin_Axis);
+ }
+ else if (theFeatureID == ConstructionPlugin_Plane::ID()) {
+ return FeaturePtr(new ConstructionPlugin_Plane);