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

How to load an IGES/STEP file from web server?

Hongwei Wang's picture

Hello everybody:
I am a new OCC user, and I have a problem in my application. I have an IGES/STEP file on my web server, and I want to load and display it in my MFC application. I can use CInternetFile to load the file into memory, but the problem is how can I import the data into OCC? May someone give me some suggestions?
Thanks for you to think about my question.
Hongwei Wang 11/26/2012

Alexey Gorshkolep's picture

I think the easiest way to do this is to save your file from the memory into some Temp file on your hard drive. Then you may load it with STEPControl_Reader class (see examples).