Use Microsoft Access to create custom point databases, and link these databases to Autodesk Civil 3D by using external data references (XDRefs).
You can modify the sample database located in C:\Program Files\Autodesk\AutoCAD 2023\Sample\Civil 3D XDRef\ or create a new database.
- Start Microsoft Access.
- Select Blank Database and click OK.
- In the File New Database dialog box, use the Save In list to locate a folder for future use.
- In the File Name box, enter a name for the database.
- Click Create to display the Database dialog box.
- On the Table tab, click New to open the New Table dialog box.
- Select Design View.
- Click OK to display the design view of the table.
- In the first table cell in the Field Name column, enter a name for the Index Column.
- In the first table cell in the Data Type column, select Number.
- In the lower part of the dialog box, verify the following information:
- Long Integer is the Field Size
- Auto is the Decimal Places
- In the Required field, select Yes.
- In the Indexed field, select Yes (No Duplicates).
- Add any additional field names below the Index Column as needed for your point information, such as DESC 1, DESC 2, ELEV 1, ELEV 2. There are no restrictions on the names and order of the columns after Index Column.
- In the first table cell in the Field Name column, enter the name of the Index Column.
- In the first table cell in the Sort Order column, select either Ascending or Descending.
- In the lower part of the dialog box, change the following settings:
- Primary field must be Yes.
- Unique field must be Yes.
- Ignore Nulls field must be No.
- From the View menu, choose Datasheet.
- Click Yes to display the Save As dialog box.
- Enter a name for the table and click OK.
- In the Table dialog box, enter point information such as point numbers, elevations, and descriptions.
-
Click menu .
- Close Microsoft Access.