please does someone have any clue on how to prevent crash of OCC when the input STEP file has not a protocol compatible with the STEP import feature of OCC ?
I am using a "STEPCAFControl_Reader" object, with "Transfer" method that may crash depending on the protocol of the STEP file. I do not succeed in detecting this protocol: I tried to use "STEPConstruct_ExternRefs", I also tried to analyze the shapes transfered, to protect this part of the code in a try-catch. Nothing allows avoiding the crash...
Please I need your help to figure out this unfriendly behaviour !
Thank you very much