I was wondering how to make the loading of IGES file non-verbose. When I load any IGES file, what follows is automatically printed to the standard output :
Diagnostics for IGES file read : CAD_test1.igs
Trace level : 0
Total number of loaded entities 63.
Number of fails in memory loading : 0.
Number of warnings in memory loading : 0.
End of loading IGES file to memory (Elapsed time : 0.02s).
Beginning of IGES data translation.
read.precision.mode : 0
read.iges.bspline.continuity : 1
read.surfacecurve.mode : 0
Info: ShapeProcess_Context: Reload Resource_Manager: -> IGES
End of IGES data translation (Elapsed time : 0.03s).
I tried to configure the IGES reader(IGESControl_Reader class) I am using by doing :
reader.PrintCheckLoad (true, IFSelect_GeneralInfo);
reader.PrintCheckTransfer (true, IFSelect_GeneralInfo);
reader.PrintTransferInfo (IFSelect_FailOnly, IFSelect_GeneralInfo);
reader.PrintStatsTransfer (5, 0);
But it makes the loading crashed.