+
+Standard_GUID kInvalidGUID("caee5ce4-34b1-4b29-abcb-685287d18096");
+
+void Model_AttributeDouble::setExpressionInvalid(const bool theFlag)
+{
+ if (theFlag) {
+ TDataStd_UAttribute::Set(myReal->Label(), kInvalidGUID);
+ } else {
+ myReal->Label().ForgetAttribute(kInvalidGUID);
+ }
+}
+
+bool Model_AttributeDouble::expressionInvalid()
+{
+ return myReal->Label().IsAttribute(kInvalidGUID);
+}