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

AIS_Trihedron Exception on comps without OCC

Simuta Roman's picture
Forums: 

Dear All:

I have a problem using AIS_Trihedron in my application. If i run my program on computers where OCC is not installed an exception occures

************** Exception Text **************
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
at AIS_Trihedron.__ctor(AIS_Trihedron* , Handle_Geom_Axis2Placement* )
at OCCInteractiveManager.CreateTrihedron(OCCInteractiveManager* ) in d:\my documents\visual studio projects\cncwood\gcshell\occinteractivemanager.cpp:line 54
at GCShell.InitOCCInteractiveManager() in d:\my documents\visual studio projects\cncwood\gcshell\gcshell.h:line 158

After this if i choose continue i can use all my functions (import/export STEP, selection ets)
Could you tell me how to resolve this problem
Thanks
PS All dlls are added to root folder of my application

Patrik Müller's picture

Hi Roman,

have you checked/set the OCC environment variables? Could be a missing CSF_GraphicShr...

Greets,

Patrik