CAD Files

AutoCAD compatible DWG and DXF (2007 and prior) and ESRI Shapefiles can be imported to generate basemap components.  Both formats are commonly used in the exchange of geographic data.  The Shapefile format is native to the ESRI geographical information system applications. While CAD files commonly contain combinations of graphic primitive types such as points, polygons and lines, each shape file will contain only one type of graphic primitive.  

To insert either a DXF or DWG file select Insert -> CAD and select a CAD file from the dialog box.  The image is placed according to the world coordinates system in the CAD file.  If the elevation coordinates in the CAD file are not specified, as is the case with many CAD files containing map data,  then the map will by default be placed at the elevation of the highest ground surface point specified in the well file. Alternatively, the image may be draped to the ground surface or to elevations values in an external elevation text file by selecting the Drape to Surface check box in the object property dialog.

Once inserted, the CAD file image can be moved, rotated and scaled.  Session files save the CAD file path and automatically reinsert it when restored so any changes in the CAD file between EnviroInsite sessions will be reflected when the inserted map image is displayed in EnviroInsite.  In order to view the inserted CAD file in later sessions, the file path must remain the same as when initially inserted.  If the file is moved then EnviroInsite will give you the opportunity to specify the new path when the session file is restored.

If you would like to edit the object appearance of portions of the CAD file (ie, color, line width, fill style, etc.) then this can be done in a CAD application external to EnviroInsite.  Alternatively, you could explode the graphic and then edit the graphic primitives themselves.  Once the object has been exploded, its parts will be stored in EnviroInsite's native file format and the dependence on the CAD file path is eliminated.  This may not be desirable if the CAD file contains enough entities to significantly increase the size of the viz session file. If you find that some blocks within your CAD file are not being displayed correctly within EnviroInsite, it frequently helps to explode the blocks before inserting the CAD file in EnviroInsite.



Use well ground surface / Use External Elevation File - There are two options for draping a CAD file to a surface.  If you elect to use well ground surface then EnviroInsite will use the Surface Elevation field of the Wells table to define the surface on which the image is draped.  Alternatively, you may use an external elevation file to define the surface.  The external elevation file should be an ASCII file, which is either comma or space delimited.  Each record should record the location (x,y) and the surface elevation (z) on which the CAD image is to be draped.