Hi.
I'm improving an existing step import/export module to load/save labels, colors and layers. I'm having issues when I try to transfer read data into the document.
Here's the code sample :
if ( XCAFDoc_DocumentTool::IsXCAFDocument (aDoc) )
{
if (readerStepCAF_->Transfer(aDoc))
{...}
}
//end of code
The program crashes when executing this line : "if (readerStepCAF_->Transfer(aDoc))"
The file can be read by the existing import module without errors, its the sample file used in the Extended Data Exchange (XDE) User’s Guide.