cart: empty [ Login ]

Error loading DWG file

1 2 3  next > 
radug
6/12/2018 9:58 AM
Hello, I'm evaluating CadLib40 and I'm having difficulties loading/displaying a certain DWG file. The file is shown in AutoCAD DWG TrueView correctly (although the application issues a warning message about the DWG file not being created with AutoCAD, etc.). I'm using the OpenGLExtendedViewExample.exe example and there is no error message, nothing, the view just remains black. Is there any kind of limitation? Is this related to the fact that i'm using the evaluation version of the libraries? Do you need the file to reproduce the problem? Thank you in advance! Best regards, Radu G.
Wout
6/12/2018 10:34 AM
Hi, The OpenGL rendering doesn't support all the entities yet, the GDI+ rendering supports more entities. See for the coverage here. I would indeed need the file to reproduce the problem. - Wout
radug
6/12/2018 10:43 AM
Hi, Thank you for your answer! I followed your suggestion and I tried to open the file with 'WinFormsExtendedViewExample.exe'. Unfortunately with the same result. Attached you have the culprit ;-) Regards, Radu G.
Wout
6/12/2018 10:46 AM
Hi, The file contains a 3DSOLID entity, which CadLib unfortunately cannot render. Also we don't have plans to support 3DSOLID in the future. - Wout
radug
6/12/2018 10:50 AM
Hi, Thank you for your time! Regards, Radu G.
Wout
6/12/2018 10:52 AM
The only platforms that can render these are probably Teigha and AutoDesk's platform. - Wout
radug
6/12/2018 11:50 AM
Yes, I've just tried with some other .NET libraries (CADSoftTools). Same result. Is there any way to generate (convert to) a DWG file without 3DSOLID entities (older version perhaps)? Regards, Radu G.
Robin
6/13/2018 12:59 AM
you can use REALDWG to load the file, and generate the 2D outline of the 3D solid, remove them, and then Render with CADLib.
radug
6/13/2018 6:25 AM
Hi, So basically there is no way to render a 3D model (contained in a DWG file) with any of these libraries! I understand now. Thank you for your time! Regards, Radu G.
Wout
6/13/2018 7:07 AM
Yes, if you need 3DSOLID rendering your best choices are Teigha or RealDWG. - Wout
1 2 3  next >