MantisBT - Open CASCADE
View Issue Details
0029256Open CASCADE[OCCT] OCCT:Application Frameworkpublic2017-10-24 14:532019-09-04 17:51
[OCCT] 7.5.0* 
0029256: Application Framework - TDocStd_Application does not provide an interface for appending entities to already opened document
TDocStd_Application provides only method TDocStd_Application::Open() for opening existing files, which basically creates a new document.

This is inconsistent with other XDE interfaces STEPCAFControl_Reader::Transfer() / IGESCAFControl_Reader::Transfer(), which appends new roots to existing document.

In general, either the reading part should be improved to provide a new mode or auxiliary tool which would allow merging one document into another.
No tags attached.
Issue History
2017-10-24 14:53kgvNew Issue
2017-10-24 14:53kgvAssigned To => mpv
2017-10-24 14:53kgvRelationship addedrelated to 0029189
2017-10-27 18:53kgvNote Added: 0071833
2017-10-27 18:54kgvNote Edited: 0071833bug_revision_view_page.php?bugnote_id=71833#r18016
2017-10-30 15:49mpvNote Added: 0071848
2017-10-30 15:49mpvAssigned Tompv => kgv
2017-10-30 15:49mpvStatusnew => feedback
2019-09-04 17:51kgvTarget Version7.4.0 => 7.5.0*

2017-10-27 18:53   
(edited on: 2017-10-27 18:54)
It seems TDF_CopyTool/TDocStd_XLinkTool are too low-level tools for such operations - I have no like guessing how to use them for appending content of one opened document to another one and have got corrupted result / crashes due to NULL-dereference afterwards.

2017-10-30 15:49   
Could you provide an example of crashing code allowing to reproduce the problem?