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

STEPCAFControler

James D.'s picture
Forums: 

Hi,
I have a problem with STEPCAFControl_Reader and _Writer.

I have only the color from the last file:

STEPCAFControl_Controller ();
STEPControl_StepModelType mode = STEPControl_AsIs;
STEPCAFControl_Writer myStepWriter;

myStepWriter.SetColorMode(true);
myStepWriter.SetNameMode(true);

myStepWriter.Transfer(new,mode);
myStepWriter.Transfer(old,mode);
myStepWriter.Transfer(res,mode);

IFSelect_ReturnStatus stat = myStepWriter.Write(filePath);

I use the same code from the IGESCAFControl_Reader ...

James D.'s picture

please help. ....