Exercise 4: Export the drawing layers to SDF - Map object data to feature class properties
 
 
 

Use the Feature Class tab to map the properties for each layer to its resulting feature class in the SDF file. You can specify some attributes as shared properties: all resulting feature classes have these properties. For example, Lineweight and Linestyle would apply to every feature class. You can specify other attributes as specific to a particular feature class. For example, Address would apply to Parcels only.

NoteThis exercise uses the DWGMap.dwg map file you opened and modified in Exercise 1: Examine the original drawing layers.

To specify the properties for the SDF feature classes

  1. In the Export dialog box, on the Feature Class tab, click Create Multiple Classes Based On A Drawing Object. For Drawing Object To Use, select Layer.

    The table in the dialog box updates to show the layer names and feature class names to use.

  2. Deselect layer 0.
  3. Click Select Attributes.

    Attributes you specify here are assigned to every feature class in the SDF file. So select only attributes that are appropriate for all of them. For example, you can select general properties, which include things like Lineweight, but not object data properties, which are specific to each feature class.

  4. In the Select Attributes dialog box, expand the Object Properties item and the AcDbEntity and General items.
  5. Select the boxes for Lineweight and Linetype and click OK.

    Expand the parent items to select a subset of properties.

  6. In the Export dialog box, under Feature Class in the grid area, click the cell for the first layer, Parcels.

    A button appears at the right side of the grid cell.

  7. Click for the Parcels Feature Class cell.
  8. In the Feature Class Property Mapping - Parcels dialog box, click Select Attributes.
  9. Expand the Object Data item and select Parcels.

    The resulting Parcels feature class has the object data fields for the Parcels layer, but not for any other layer.

  10. Click OK twice to return to the Feature Class tab.
  11. Click in the Geometry cell for Parcels and change the entry to Polygon.
  12. Repeat steps 6 through 11 for the remaining two feature classes, using the following table as a guideline.
    Drawing Property Feature Class Geometry
    Roads Roads Line
    Waterlines Waterlines Line
  13. Leave the Export dialog box open for the next exercise.

To continue this tutorial, go to Exercise 5: Export the drawing layers to SDF - Map drawing properties to feature class properties.