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

AutoCAD Map 3D 2009

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

The Feature Class tab lets you map the properties for each layer to its resulting feature class in the SDF file. You can specify some attributes as shared properties: all feature classes will 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_09.dwg map file you opened and modified in the previous exercises.

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 and, for Drawing Object To Use, select Layer.

    The table in the dialog box updates to show the layer names and feature class names that will be used.

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

    Attributes you specify here will be assigned to all the feature classes 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. Check the box for the Lineweight and Linetype items and click OK.

  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 check Parcels.

    Now the resulting Parcels feature class will have 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 PropertyFeature ClassGeometry
    RoadsRoadsLine
    WaterlinesWaterlinesLine

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