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

IGES->OCAF

Shawn Chang's picture
Forums: 

Hi: I import the IGES or BREP file. And, I try to give their name and attributes. Does anyone can give me any suggestion? I am very appreciated for your help.

ps.
I have tried to add some in ImportExport.cpp before display IGES file.
Handle(TDocStd_Document) D;
D->NewCommand();
TStars_Commands TSC(D->Main());
TDF_Label L = TSC.Create....
Handle(TPrsStd_AISPresentation) = ...
.
.
The compile is OK. But, the execution failed in D->NewCommand();

sincerely
shawn