Preparing a DGN V8 seed file
This workflow demonstrates how to prepare a DGN V8 seed file for use with the Export To CAD tool. Exporting data to the DGN V8 format requires a seed file with the following:
- A 2D or 3D design plane consistent with the type of data that is exported.
- A global origin that locates the center of the extents for the input feature class.
Calculate the global origin
The global origin is the coordinate location x,y = 0,0 in a DGN file. To avoid the possibility of generating empty output, shift the global origin to accommodate the extents of the features to be exported. You calculate the global origin using the MIN/MAX coordinates that are viewable in the Feature Class Properties dialog box. When exporting multiple feature classes, use the smallest minimum values and the largest maximum values for your calculations, and roundoff the result.
- Open a Catalog window.
- Right click the feature class and click Properties.
- Click the Domain tab.
Calculate the approximate center of the extents from the values in the XY Domain box, using the formula:
Global Origin X = (MaxX + MinX) / 2
Global Origin Y = (MaxY + MinY) / 2
Determine if the data is 2D or 3D
- Click the General tab in the Feature Class Properties dialog box.
- Confirm in the Geometry Properties box if the coordinates include z-values. A checked box indicates the feature class contains 3D data.
Using MicroStation V8 to prepare the seed file
Start an editing session
- Start MicroStation.
- Click File > New.
- Enter a name for the seed file in the Filename textbox.
- In the Seed textbox, browse to the Bentley system folder and choose an empty 2D or 3D seed file as determined by the z-values of your input feature class.
- Click Save to begin editing the new DGN file.
A typical Windows installation will locate the folder at C:\Documents and Settings\All Users\Application Data\Bentley\Workspace\system\seed.
Set the map units
- Click Settings > Design File.
- Click Working Units from the Category menu.
Click Edit in the Advanced Settings box to open the Advanced Unit Settings dialog box.
Click OK to dismiss any warning you receive about modifying existing entities.
- In the Resolution box, enter a nominal value that defines the precision required for your data, choose a unit of measure from the drop-down arrow, and click OK.
- Click OK to close the DGN File Settings dialog box.
Define the global origin
- Click Utilities > Key-in.
Type GO=<Global Origin X>,<Global Origin Y> in the text box, using the x,y coordinates you calculated as the center of the input feature class.
For example: GO=1000,1000
- Press ENTER and close the dialog box.
Once entered, the GO= parameter cannot be undone. One method to recover from an incorrect key-in is to close the file without saving the settings, and reopen it.
Save and close the DGN file
- From the menu toolbar, click File > Save Settings or press CTRL+F to save the settings.
- From the menu toolbar, click File > Save or press CTRL+S to save the file.