
Tue, 04/19/2016 - 11:29
I try to import an IGES file using open cascade and get an exception
The code:
IGESControl_Reader reader;
IFSelect_ReturnStatus stat = reader.ReadFile("filePath");
Standard_Boolean ok = reader.TransferRoots();
TopoDS_Shape shape = reader.OneShape();
I get stat = IFSelect_RetDone in the reader.ReadFile("filePath") line
I get an exception in the reader.TransferRoots() line
IGES file attached
Attachments:
Wed, 04/20/2016 - 13:16
UPDATE
This code works
I had some issues in my project
Thank you all