title: How to detect CAD dwg/dxf file is 2D or 3D?
body: <p>I want to use CAD dwg/dxf file, but before use I need to identify programmatically that the given file is 2D file or 3D file.</p>
  
  <p>So, is there a way to detect CAD dwg/dxf file is 2D or 3D?</p>
  
  <p>Please suggest any way to detect that given file is 2D or 3D.</p>
  
  <p>Please note that I want to detect 2D/3D from server.</p>