Translating IGES file


I am new to OpenCascade. I am trying to translate IGES file format into OpenCascade format. I read the help file that came along with the downloads. Below are my steps:

IFSelect_ReturnStatus Status = reader.ReadFile ("C:\\test.igs") ;

Handle(TColStd_HSequenceOfTransient) mylist = reader.GiveList( //Select the entire file


"" );//Read the whole file

Standard_Integer IgesFaces = mylist->Length();

Standard_Integer TransList = reader.TransferList(mylist) ;

Could anyone tell me as to what should I do to view the translated file in Open Cascade

Thanks in advance,


Joe's picture

Please reference the OpenCascade example program "SampleImportExport"