Salome HOME
Fix for the #2716 comment 3 : make smash allow sub-solids selected, but "Apply" butto...
[modules/shaper.git] / src / ParametersAPI / ParametersAPI_Parameter.h
index 7abc34850c0fd9a3123d5e9f853f3914bc0a1ad5..6d444d9f6c4c054a133a17205c2248b494d914ab 100644 (file)
@@ -83,6 +83,13 @@ ParameterPtr addParameter(const std::shared_ptr<ModelAPI_Document> & thePart,
                           const std::string & theExpression,
                           const std::string & theComment = std::string());
 
+/**\ingroup CPPHighAPI
+ * \brief Remove Parameter feature and substitute it by the value in referred features
+ */
+PARAMETERSAPI_EXPORT
+void removeParameter(const std::shared_ptr<ModelAPI_Document> & thePart,
+                     const ParameterPtr & theParameter);
+
 //--------------------------------------------------------------------------------------
 //--------------------------------------------------------------------------------------
 #endif /* SRC_PARAMETERSAPI_PARAMETERSAPI_PARAMETER_H_ */