WMS:CAD Data: Difference between revisions
No edit summary |
|||
(20 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Opening CAD Files== | ==Opening CAD Files== | ||
WMS uses a third party set of DLLs to read CAD files. This is done so that WMS can stay current with evolving changes in DXF and other file formats. Previously, only limited DXF support was provided, and only for files exported from AutoCAD release 12 or earlier. This interface not only provides expanded and up to date support of DXF, but AutoCAD | WMS uses a third party set of DLLs to read CAD files. This is done so that WMS can stay current with evolving changes in DXF and other file formats. Previously, only limited DXF support was provided, and only for files exported from AutoCAD release 12 or earlier. This interface not only provides expanded and up to date support of DXF, but AutoCAD DWG files are also supported. MicroStation DGN files can also be opened. | ||
WMS can use CAD files as base map (background) information to the project, and to convert some CAD features into feature objects of the current coverage. CAD layers can be managed in the Project Explorer in the GIS module. | WMS can use CAD files as base map (background) information to the project, and to convert some CAD features into feature objects of the current coverage. CAD layers can be managed in the Project Explorer in the GIS module. | ||
The following versions of DWG files are supported: | |||
{|- class="wikitable" | |||
|- | |||
!WMS Version !! 9.0 !! 9.1 !! 10.0 !! 10.1 !! 11.0 | |||
|- | |||
!AutoCAD Version | |||
| 3.05.00 || 3.05.01 || 3.09.00 ||3.09.00 || 4.01.01 | |||
|} | |||
==Saving CAD Data== | ==Saving CAD Data== | ||
Line 8: | Line 19: | ||
==Deleting CAD Data== | ==Deleting CAD Data== | ||
The ''' | The '''Remove''' command in the right-click menu of the CAD data [[File:CAD Folder.svg|16 px]] item is used to delete all CAD data. It is not currently possible to delete individual layers, but the visibility of a layer can be controlled from within the ''Display Options'' dialog. | ||
==CAD Display Options== | ==CAD Display Options== | ||
Line 14: | Line 25: | ||
[[File:CADDisplayOptions.jpg|thumb|none|left|275 px|''CAD Display Options'' dialog.]] | [[File:CADDisplayOptions.jpg|thumb|none|left|275 px|''CAD Display Options'' dialog.]] | ||
The ''CAD Display Options'' dialog has been removed starting in WMS 10.1. | |||
===List of Layers=== | ===List of Layers=== | ||
The names of the layers in the drawing are shown in the box on the left of the dialog. A check mark appears to the left of the names. The visibility of a layer is controlled using these toggles. All of the layers can be made toggled on/off with the option for ''All'' that is at the top of the list. | The names of the layers in the drawing are shown in the box on the left of the dialog. A check mark appears to the left of the names. The visibility of a layer is controlled using these toggles. All of the layers can be made toggled on/off with the option for ''All'' that is at the top of the list. | ||
===Colors/Styles=== | ===Colors/Styles=== | ||
Line 24: | Line 35: | ||
==Converting WMS Data to CAD== | ==Converting WMS Data to CAD== | ||
If wanting to convert WMS data objects such as feature object coverages, TINs, contours, etc., choose the ''' | If wanting to convert WMS data objects such as feature object coverages, TINs, contours, etc., choose the '''Save As''' option in the right-click menu for each coverage or dataset then save the object as a *.dwg/*.dxf file. This will convert the various WMS data objects into separate CAD layers which can be controlled from the ''Display Options'' dialog. The colors of the layers will be inherited based on the current WMS display options settings for the individual objects. | ||
At the current release polygon data types are not supported in the conversion from WMS to CAD, however arcs that make up polygons, or triangles that make up color-filled contours are saved as layers. | At the current release polygon data types are not supported in the conversion from WMS to CAD, however arcs that make up polygons, or triangles that make up color-filled contours are saved as layers. | ||
Line 32: | Line 43: | ||
To export a delineated watershed with only the watershed boundary displayed, follow these steps: | To export a delineated watershed with only the watershed boundary displayed, follow these steps: | ||
# Select ''Display'' menu then '''Display Options...''' . | |||
# Select '''Map Data''' on the left side of the ''Display Options'' dialog. | |||
# Make sure that only the ''Generic'' (under ''Arcs'') box is checked in the ''Map'' tab of the ''Display Options'' dialog. | |||
# Right-click on the ''DEM'' item under ''Terrain Data'' in the ''Project Explorer''. | |||
# Select '''Delete'''. | |||
# Switch back to the map module by either selecting ''Map Data'' in the Project Explorer or the ''Map Module'' macro at the top of the screen. | |||
# Select the '''Select Feature Arc''' tool in the map module toolbar. | |||
# Delete each of the stream arcs by selecting each with the '''Select Feature Arc''' tool. | |||
# Make sure the Map module is active (see step 6). | |||
# Right-click on the Map coverage and select '''Save As...''' and save the file as a *.dwg/*.dxf file. | |||
===How to convert a floodplain boundary to a CAD drawing=== | ===How to convert a floodplain boundary to a CAD drawing=== | ||
Line 49: | Line 59: | ||
# Remove any unwanted arcs from the floodplain boundary. | # Remove any unwanted arcs from the floodplain boundary. | ||
# Delete any data not needed to export (TIN, area property coverage, 2D scattered data). | # Delete any data not needed to export (TIN, area property coverage, 2D scattered data). | ||
# | # Right-click on the Map coverage and select '''Save As...''' and save the file as a *.dwg/*.dxf file. | ||
==Converting to Feature Objects== | ==Converting to Feature Objects== | ||
Many times CAD data layers are used to create streams, watersheds, or other feature objects. To do this, first convert the CAD data to feature objects. This is done by choosing the ''' | Many times CAD data layers are used to create streams, watersheds, or other feature objects. To do this, first convert the CAD data to feature objects. This is done by choosing the ''CAD To'' | '''Feature Objects''' command in the CAD data item [[File:Convert to CAD Icon.svg|16 px]] right-click menu and then specifying which objects in the layer are to be converted. Alternatively, the GIS Data folder [[File:GIS Folder.svg|16 px]] can be right-clicked and the '''Data → CAD''' option selected. The newly created files below the CAD data folder [[File:Convert to CAD Icon.svg|16 px]] is then right-clicked and the and the ''CAD To'' | '''Feature Objects''' command is selected. When converting data, either add it to the currently active coverage or have a new coverage created. Once the data have been converted it is a good idea to delete the CAD data or at least toggle of the visibility. | ||
==Converting to TIN== | ==Converting to TIN== | ||
Sometimes digital elevation data are stored in CAD files in the form of 3D points and 3D faces. These CAD objects can be converted to TINs using the ''' | Sometimes digital elevation data are stored in CAD files in the form of 3D points and 3D faces. These CAD objects can be converted to TINs using the ''CAD To '' | '''TIN''' command in the CAD data item [[File:Convert to CAD Icon.svg|16 px]] right-click menu. Alternatively, the GIS Data folder [[File:GIS Folder.svg|16 px]] can be right-clicked and the '''Data → CAD''' option selected. The newly created files below the CAD Data folder [[File:Convert to CAD Icon.svg|16 px]] is then right-clicked and the and the ''CAD To'' | '''TIN''' command is selected. After converting the data it is a good idea to delete the CAD layers, or at least turn off their visibility. | ||
==Related Topics== | ==Related Topics== | ||
Line 69: | Line 78: | ||
[[Category:WMS Dialogs|C]] | [[Category:WMS Dialogs|C]] | ||
[[Category:CAD]] | [[Category:CAD]] | ||
[[Category:WMS Display Options|CAD]] | |||
[[Category:Needs Update]] | [[Category:Needs Update]] |
Latest revision as of 22:21, 2 April 2021
Opening CAD Files
WMS uses a third party set of DLLs to read CAD files. This is done so that WMS can stay current with evolving changes in DXF and other file formats. Previously, only limited DXF support was provided, and only for files exported from AutoCAD release 12 or earlier. This interface not only provides expanded and up to date support of DXF, but AutoCAD DWG files are also supported. MicroStation DGN files can also be opened.
WMS can use CAD files as base map (background) information to the project, and to convert some CAD features into feature objects of the current coverage. CAD layers can be managed in the Project Explorer in the GIS module.
The following versions of DWG files are supported:
WMS Version | 9.0 | 9.1 | 10.0 | 10.1 | 11.0 |
---|---|---|---|---|---|
AutoCAD Version | 3.05.00 | 3.05.01 | 3.09.00 | 3.09.00 | 4.01.01 |
Saving CAD Data
Most of the data objects within WMS (e.g. coverages, contours, etc.) can be converted to CAD layers. Once converted to CAD layers these data can be saved to either a DXF or DWG (AutoCAD native file format) using the Save As command in the File menu. The Save As option will only save the current CAD layers to the file so convert WMS data to CAD prior to saving if desiring to have data created in WMS saved to a CAD format.
Deleting CAD Data
The Remove command in the right-click menu of the CAD data item is used to delete all CAD data. It is not currently possible to delete individual layers, but the visibility of a layer can be controlled from within the Display Options dialog.
CAD Display Options
The objects in CAD files are organized into layers. The display of layers in a CAD drawing is controlled using the Display Options command in the CAD menu. This command brings up the CAD Display Options dialog, shown below.
The CAD Display Options dialog has been removed starting in WMS 10.1.
List of Layers
The names of the layers in the drawing are shown in the box on the left of the dialog. A check mark appears to the left of the names. The visibility of a layer is controlled using these toggles. All of the layers can be made toggled on/off with the option for All that is at the top of the list.
Colors/Styles
With the current implementation of the new CAD data colors and styles are inherited from the original drawing and cannot be changed from within WMS.
Converting WMS Data to CAD
If wanting to convert WMS data objects such as feature object coverages, TINs, contours, etc., choose the Save As option in the right-click menu for each coverage or dataset then save the object as a *.dwg/*.dxf file. This will convert the various WMS data objects into separate CAD layers which can be controlled from the Display Options dialog. The colors of the layers will be inherited based on the current WMS display options settings for the individual objects.
At the current release polygon data types are not supported in the conversion from WMS to CAD, however arcs that make up polygons, or triangles that make up color-filled contours are saved as layers.
Example
To export a delineated watershed with only the watershed boundary displayed, follow these steps:
- Select Display menu then Display Options... .
- Select Map Data on the left side of the Display Options dialog.
- Make sure that only the Generic (under Arcs) box is checked in the Map tab of the Display Options dialog.
- Right-click on the DEM item under Terrain Data in the Project Explorer.
- Select Delete.
- Switch back to the map module by either selecting Map Data in the Project Explorer or the Map Module macro at the top of the screen.
- Select the Select Feature Arc tool in the map module toolbar.
- Delete each of the stream arcs by selecting each with the Select Feature Arc tool.
- Make sure the Map module is active (see step 6).
- Right-click on the Map coverage and select Save As... and save the file as a *.dwg/*.dxf file.
How to convert a floodplain boundary to a CAD drawing
- Right-click on the flood depth dataset and set the contour options to normal linear, specified values, and a single contour with a value of 0.001 .
- Right-click on the TIN, select convert, select TIN Contours→Feature.
- Remove any unwanted arcs from the floodplain boundary.
- Delete any data not needed to export (TIN, area property coverage, 2D scattered data).
- Right-click on the Map coverage and select Save As... and save the file as a *.dwg/*.dxf file.
Converting to Feature Objects
Many times CAD data layers are used to create streams, watersheds, or other feature objects. To do this, first convert the CAD data to feature objects. This is done by choosing the CAD To | Feature Objects command in the CAD data item right-click menu and then specifying which objects in the layer are to be converted. Alternatively, the GIS Data folder can be right-clicked and the Data → CAD option selected. The newly created files below the CAD data folder is then right-clicked and the and the CAD To | Feature Objects command is selected. When converting data, either add it to the currently active coverage or have a new coverage created. Once the data have been converted it is a good idea to delete the CAD data or at least toggle of the visibility.
Converting to TIN
Sometimes digital elevation data are stored in CAD files in the form of 3D points and 3D faces. These CAD objects can be converted to TINs using the CAD To | TIN command in the CAD data item right-click menu. Alternatively, the GIS Data folder can be right-clicked and the Data → CAD option selected. The newly created files below the CAD Data folder is then right-clicked and the and the CAD To | TIN command is selected. After converting the data it is a good idea to delete the CAD layers, or at least turn off their visibility.
Related Topics
WMS – Watershed Modeling System | ||
---|---|---|
Modules: | Terrain Data • Drainage • Map • Hydrologic Modeling • River • GIS • 2D Grid • 2D Scatter | |
Models: | CE-QUAL-W2 • GSSHA • HEC-1 • HEC-HMS • HEC-RAS • HSPF • MODRAT • NSS • OC Hydrograph • OC Rational • Rational • River Tools • Storm Drain • SMPDBK • SWMM • TR-20 • TR-55 | |
Toolbars: | Modules • Macros • Units • Digitize • Static Tools • Dynamic Tools • Drawing • Get Data Tools | |
Aquaveo |