Hi everyone,
I am trying open and read Dgn file. But, I got the error when using below codes:
Do you know why ?
I attached the dgn file.
Thanks and regards,
Tai
I am trying open and read Dgn file. But, I got the error when using below codes:
Code:
IWorkspaceFactory factory = new CadWorkspaceFactoryClass ();
IWorkspace workspace = factory.OpenFromFile(fileName, 0); // Throw exceptionI attached the dgn file.
Thanks and regards,
Tai