DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0023590

IGESCAFControl_Writer extended to accept TDF_LabelSequence

CommunityOCCT:Data Exchangeclosed4 public notes

Search issues

Description

Added the method Transfer() accepting TDF_LabelSequence. Methods WriteAttributes(), WriteLayers(), WriteNames() now accept TDF_LabelSequences instead of TDocStd_Document.
This API makes IGESCAFControl_Writer more consistent with STEPCAFControl_Writer
and allows to export only sub-part of the XDE document (e.g. only root shapes belonging to one layer, etc).

Note: Write*() methods are protected without any likely subclasses in the user codes.

Steps to reproduce

N/A

Public activity

4 archived notes

Participants are labeled by their role within this record.

01Author
Pushed branch CR23590 into the git repository
02Commenter 2
Branch CR23590 is ready to be tested
03Commenter 3
Dear Commenter 1,
Branch CR23590 (and products from GIT master) was compiled on Linux and Windows platforms and tested.

Regressions:
Not detected

Improvements:
Not detected

Testing cases:
Not needed
04Commenter 1
Fix has been integrated into occt repository

CR23590: IGESCAFControl_Writer extended to accept TDF_LabelSequence

src/IGESCAFControl/IGESCAFControl.cdl
src/IGESCAFControl/IGESCAFControl_Writer.cdl
src/IGESCAFControl/IGESCAFControl_Writer.cxx

Related records