Problem: Errors when opening IGES and GLM files with ModelPath. No model shown. Error for IGES shown in the image below.
Dev: VB6
DGKC: KerCADe.ocx (x86); 7.1.5370.0; 4/19/2023; Size 1,141,760 bytes
I built a very simple test project. Form, KernelCAD object, and command button. Code below:
Code: Select all
Private Sub cmdOpen_Click()
CommonDlg.FileName = ""
Call CommonDlg.ShowOpen
If (CommonDlg.FileName <> "") Then
KernelCAD1.ModelPath = CommonDlg.FileName ' works: MDG, WRL, STEP, STL; fails: IGES, GLM
End If
End Sub
Regards,
Don