MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030014Community[OCCT] OCCT:Data Exchangepublic2018-08-03 13:482018-08-03 13:48
Reporterkamal 
Assigned Togka 
PrioritynormalSeverityblock 
StatusnewResolutionopen 
PlatformWindowsOSVC++ 2015OS Version64 bit
Product Version[OCCT] 7.3.0 
Target VersionFixed in Version 
Summary0030014: Step File import does not create shapes, after transfer roots
DescriptionAfter import and transfer roots, shape does not exist
Steps To ReproducePlease refer the following code, which does not return shape.

    STEPControl_Reader aReader;
    IFSelect_ReturnStatus status = aReader.ReadFile(this->strStepFileName.c_str());
    if (status != IFSelect_RetDone)
        return nullptr;

    aReader.WS()->TransferReader()->TransientProcess()->SetTraceLevel(2); // increase default trace level

    Standard_Boolean failsonly = Standard_False;
    aReader.PrintCheckLoad(failsonly, IFSelect_ItemsByEntity);

    // Root transfers
    Standard_Integer nbr = aReader.NbRootsForTransfer();
    aReader.PrintCheckTransfer(failsonly, IFSelect_ItemsByEntity);
    for (Standard_Integer n = 1; n <= nbr; n++) {
        Standard_Boolean ok = aReader.TransferRoot(n);

    }
    // Collecting resulting entities
    Standard_Integer nbs = aReader.NbShapes();
    if (nbs == 0) {
        return nullptr;
    }
TagsNo tags attached.
Test case number
Attached Fileszip file icon 123.zip (2,173,293 bytes) 2018-08-03 13:48

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-08-03 13:48 kamal New Issue
2018-08-03 13:48 kamal Assigned To => gka
2018-08-03 13:48 kamal File Added: 123.zip


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker