export cad

export cad

The export cad module will output one or more individual objects (red port) or your complete model (purple input port from the viewer). Volumetric objects in EVS are converted to surface and line type objects.

The module preserves the colors of all cells and objects by assigning cell colors to each AutoCAD surface or line entity according to the following procedure:

a) If nodal data is present, the first nodal data component is averaged to the cells and that color is applied. This is equivalent to the appearance of surfaces in EVS with flat shading mode applied.

b) If no nodal data is present, but cell data is, that color is applied. This is equivalent to the appearance of surfaces in EVS with flat shading mode applied.

c) If neither nodal or cell data is present the object’s color is used.

The results should look fairly similar to the viewer in EVS except:

  • AutoCAD has a very limited color palette with only 256 total colors. With some datamaps this limitation will be more problematic and it is possible that the nearest AutoCAD color may apply to multiple colors used in a subtle geology datamap.
  • AutoCAD lacks Gouraud shading support so all cells are flat shaded.

All “objects” in EVS are converted to separate layers based upon the EVS object name (as shown in the viewer’s Object Selector).

Ports

DirectionNameTypeDescription
InputViewViewThe view containing all associated renderable objects.
InputZ ScaleNumberThe factor for vertical scaling.
InputInput ObjectRenderableA renderable object for output to the CAD format.

Properties

PropertyTypeDescription
FilenameStringThe name of the output file to generate. Supported formats include AutoCAD DWG, DXF, and MicroStation DGN.
Append To FileBooleanWhen on, the existing file contents will be preserved.
Translate By OriginBooleanCauses the output to be written in the user’s coordinate space. When turned off, the output will be written around the origin.
Z ScaleDoubleThe vertical exaggeration of the input view. This scale will be reversed prior to writing.
Output File VersionChoice: R12, R14, 2000, 2004-2006, 2007-2009, 2010-2012, 2013-2017, 2018-2021Specifies which version of CAD to write in. Not used for DGN files.
Color ToleranceDoubleDetermines how precisely the colors must be represented in the output file. Setting to 0% will cause full colors to be added to the CAD palette. Setting to 100% will minimize additional colors and attempt to match the standard palette.
Layer NamingChoice: Module first, Cellset first, Module only, Cellset onlySpecifies how to name the layers or levels created by EVS.
Include Cellset IndexBooleanCauses layer names to include the cellset index.