- /*
- boost::shared_ptr<ModelAPI_AttributeDocRef> aDocRef = aResult->data()->docRef(
- ModelAPI_ResultPart::DOC_REF());
-
- if (!aDocRef->value()) { // create a document if not yet created
- boost::shared_ptr<ModelAPI_Document> aPartSetDoc =
- ModelAPI_PluginManager::get()->rootDocument();
- aDocRef->setValue(aPartSetDoc->subDocument(data()->name()));
- }
- */