- boost::shared_ptr<ModelAPI_Feature> myOwner; ///< owner of this result
- boost::shared_ptr<GeomAPI_Shape> myShape; ///< shape of this result created "on the fly"
-public:
- /// Returns the group identifier of this result
- virtual std::string group()
- {static std::string MY_GROUP = "Construction"; return MY_GROUP;}
+ std::shared_ptr<ModelAPI_Feature> myOwner; ///< owner of this result
+ std::shared_ptr<GeomAPI_Shape> myShape; ///< shape of this result created "on the fly"
+ bool myIsInHistory;
+ public:
+ /// By default object is displayed in the object browser.
+ MODEL_EXPORT virtual bool isInHistory()
+ {
+ return myIsInHistory;
+ }
+