Thu, 01/22/2009 - 14:59
Forums:
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); }
Thu, 01/22/2009 - 18:49
Did you look at the Windows Ocaf Sample? It answers most questions.
Torsten