/// 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();
+ PARTSETPLUGIN_EXPORT virtual const std::string& documentToAdd();
/// Returns true if this feature must be displayed in the history (top level of Part tree)
PARTSETPLUGIN_EXPORT virtual bool isInHistory()