For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

About TDocStd_Document

siyamalan's picture
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); }

Torsten Sadowski's picture

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

Torsten