View Issue Details

IDProjectCategoryView StatusLast Update
0029256Open CASCADEOCCT:Application Frameworkpublic2022-10-24 10:39
Reporterkgv Assigned Tovpozdyayev 
PrioritynormalSeverityfeature 
Status feedbackResolutionopen 
Target Version7.8.0 
Summary0029256: Application Framework - TDocStd_Application does not provide an interface for appending entities to already opened document
DescriptionTDocStd_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.
TagsNo tags attached.
Test case number

Activities

kgv

2017-10-27 18:53

developer   ~0071833

Last edited: 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.

mpv

2017-10-30 15:49

developer   ~0071848

Could you provide an example of crashing code allowing to reproduce the problem?

Issue History

Date Modified Username Field Change
2017-10-24 14:53 kgv New Issue
2017-10-24 14:53 kgv Assigned To => mpv
2017-10-27 18:53 kgv Note Added: 0071833
2017-10-27 18:54 kgv Note Edited: 0071833
2017-10-30 15:49 mpv Note Added: 0071848
2017-10-30 15:49 mpv Assigned To mpv => kgv
2017-10-30 15:49 mpv Status new => feedback
2019-09-04 17:51 kgv Target Version 7.4.0 => 7.5.0
2020-09-11 15:32 utverdov Target Version 7.5.0 => 7.6.0
2021-09-09 23:11 kgv Target Version 7.6.0 => 7.7.0
2022-10-19 15:56 smoskvin Assigned To kgv => vpozdyayev
2022-10-24 10:39 szy Target Version 7.7.0 => 7.8.0