About TDocStd_Document

How can I view this aDoc??

STEPCAFControl_Reader reader;
IFSelect_ReturnStatus aStatus = reader.ReadFile("E:\\abc.stp");

Handle(TDocStd_Document) aDoc = new TDocStd_Document("MyStepDoc");

if (aStatus == IFSelect_RetDone)
{ Standard_Boolean aRes = reader.Transfer(aDoc); }

Torsten Sadowski's picture

Did you look at the Windows Ocaf Sample? It answers most questions.

Torsten