AutoCAD Map 3D Tutorials > Tutorial: Managing Data From Different Sources > Lesson 4: Importing SDF Files as DWG Layers >
Exercise 2: Import the SDF layers
When you connected to the SDF file you created earlier in this tutorial, you brought in its data as geospatial features, and each feature class was a separate Display Manager layer. However, in this lesson you will import the SDF data as drawing objects, and each feature class will become a separate drawing layer.
NoteThis exercise uses the
map you created with the DWGImportTemplate.dwt template
and the SDF file you created in Lesson 1: Converting Drawing Layers to Feature
Classes.
- Click File menu Create DWG From Autodesk SDF.
- Navigate to the SDF file you created, select it, and click OK.
- In the Import dialog box, check Import Polygons As Closed Polylines.
- Map the incoming feature classes to the layers in the template.
- Map
the Size property to object data.
- Click in the Data cell for Waterlines.
- Click the button that appears.
- In the Attribute Data dialog box, click Create Object Data.
- For Object Data Table To Use, select Waterlines (not (Schema1_Waterlines).
- Click Select Fields.
- In the Object Data Mapping dialog box, check Size and, under Target Fields, enter Size in the corresponding cell.
- Click OK to exit the three dialog boxes.
- Click View menu Extents to see the data in your map.
You can now work with the objects as you would any DWG data.
To continue this tutorial, go to Exercise 3: Use Display Layers to Assign Object Properties