/// Request for initialization of data model of the feature: adding all attributes
PARTSETPLUGIN_EXPORT virtual void initAttributes();
- PARTSETPLUGIN_EXPORT virtual std::shared_ptr<ModelAPI_Document> documentToAdd();
-
- /// Returns true if this feature must be displayed in the history (top level of Part tree)
- PARTSETPLUGIN_EXPORT virtual bool isInHistory()
- {
- return false;
- }
+ /// Part must be added only to PartSet
+ PARTSETPLUGIN_EXPORT virtual const std::string& documentToAdd();
/// Use plugin manager for features creation
PartSetPlugin_Part();