# Civil 3D Commands

Reference of the commands exposed by GeoDin® Ground in Civil 3D. Most are reachable from the **GeoDin® Ground** ribbon; all can be invoked from the command line by typing the command name.

## Data source and selection

| Command                       | What it does                                                                                                                  |
| ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `GEODIN_DATABASE_SELECT_FILE` | Selects a GeoDin® database file (`.mdb` / `.accdb`) from disk and registers it for use within Civil 3D.                       |
| `GEODIN_SELECT_LOCATIONS`     | Opens the location selector to browse projects and boreholes inside the registered databases, and pick the ones to work with. |

## Drawing boreholes

| Command                       | What it does                                                                                                       |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| `GEODIN_DRAW_BOREHOLES`       | Renders the selected boreholes as detailed 3D cylinders with lithological descriptions and annotations.            |
| `GEODIN_DRAW_BOREHOLES_BASIC` | Renders the selected boreholes without lithological descriptions or annotations.                                   |
| `GEODIN_DRAW_BOREHOLES_OPT`   | Renders the selected boreholes with options to use lithological descriptions or ground units for section division. |

## Surfaces and volumes

| Command                               | What it does                                                                                             |
| ------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| `GEODIN_DRAW_SURFACES`                | Generates surfaces and solids based on the lithological layers of all currently loaded boreholes.        |
| `GEODIN_DRAW_SURFACES_FROM_SELECTION` | Generates surfaces and solids based on the lithological layers of the boreholes selected in the drawing. |
| `GEODIN_BUILD_VOLUMES`                | Builds 3D solid volumes between the generated surfaces.                                                  |
| `DELETE_ALL_VOLUMES`                  | Removes all volumes generated by GeoDin® Ground from the current drawing.                                |

## Virtual logs

| Command                                             | What it does                                                                                                                                                                                                                  |
| --------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `GEODIN_CREATE_VIRTUAL_LOG`                         | Creates a virtual log with an empty stratigraphy — you enter the layers by hand. See [Creating Virtual Logs](/geodin-ground/virtual-logs/creating-virtual-logs.md).                                                           |
| `GEODIN_CREATE_VIRTUAL_LOG_NEAREST_NEIGHBOUR`       | Creates a virtual log by copying the stratigraphy of the nearest real borehole. See [Nearest Borehole](/geodin-ground/virtual-logs/creating-virtual-logs/creating-virtual-logs-nearest-borehole.md).                          |
| `GEODIN_CREATE_VIRTUAL_LOG_FROM_SURFACE_CONDITIONS` | Creates a virtual log by sampling the currently generated ground model at the chosen location. See [Surface Interpolation](/geodin-ground/virtual-logs/creating-virtual-logs/creating-virtual-logs-surface-interpolation.md). |

## Documents

| Command                                  | What it does                                                                                                           |
| ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `GEODIN_OPEN_ALL_DOCUMENTS`              | Opens the GeoDin® Document Viewer with all documents available in the connected database.                              |
| `GEODIN_OPEN_ALL_DOCUMENTS_OFFLINE`      | Opens the GeoDin® Document Viewer with all documents stored in Autodesk Construction Cloud.                            |
| `GEODIN_OPEN_BOREHOLE_DOCUMENTS`         | Opens the GeoDin® Document Viewer with the documents attached to the selected boreholes.                               |
| `GEODIN_OPEN_BOREHOLE_DOCUMENTS_OFFLINE` | Opens the GeoDin® Document Viewer with the documents for the selected boreholes stored in Autodesk Construction Cloud. |

## Commands not in the latest release

The following commands existed in earlier builds and are not part of the current release. They are listed here for reference only:

* `GEODIN_PROFILE_VIEW_SHOW_HATCHES`
* `GEODIN_PROFILE_VIEW_HIDE_HATCHES`
* `GEODIN_PROFILE_VIEW_ADD_SURFACES`

For a UI-oriented view of how these commands fit into a working session, see [First steps](/geodin-ground/getting-started/first-steps.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.geodin.com/geodin-ground/support/civil-3d-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
