Search K
Appearance
Appearance
The DGN Export node automates the process of exporting Bentley MicroStation (.DGN) files to output formats such as PDF, DWF, PLT, PNG, or JPG.
It supports both standard and advanced export settings and can publish using Bentley View or MicroStation through COM Interop.
This node is used to:
Currently, only PDF export is fully implemented.
When added to a workflow, this node presents a configuration form with the following input fields.
| Field | Type | Description | Required | Visible When |
|---|---|---|---|---|
| Local File Full Path | Text | Full path to the DGN file to export. Example: C:\Projects\Drawings\Layout001.dgn | ✅ | Always |
| Export Type | Picklist | The desired output format. Options: PDF, DWF, PLT, PNG, JPG | ✅ | Always |
| Advanced Export Settings | JSON Object | Optional advanced configuration object defining multiple export profiles or controls (see below). | ❌ | Optional |
| Paper Size | Text | The paper size to use for export (e.g., A3, A1). | ❌ | Always |
| Orientation | Text | Page orientation: Landscape or Portrait. | ❌ | Always |
| Plot Area | Text | Area of the model to export. Options: Extents, Window, View, Fence. | ❌ | Always |
| Color Mode | Text | Color mode for the output. Options: Color, Monochrome, Grayscale. | ❌ | Always |
| Output Mode | Text | Whether to output a single file or multiple files. Options: Single File, Multiple Files. | ❌ | Always |
| Plot Config | Text | Path to a .pltcfg file defining plotter configuration. | ❌ | Always |
| Models to Export | Text | Which models to export: All, Default, or Named. | ❌ | Always |
| Window Coordinates | Text | For Window plot area only — defines the coordinate bounds of the region to export.Format: x1,y1,z1;x2,y2,z2 | ❌ | Only when Plot Area = Window |
| Scale | Text | Plot scale ratio (e.g., Fit to Page, 1:1, 1:2). | ❌ | Always |
| Center on Page | Boolean | Whether to center the drawing on the page. | ❌ | Always |
| Apply Line Weights | Boolean | Whether to apply line weights when exporting. | ❌ | Always |
| Plot Border | Boolean | Whether to include a border in the output. | ❌ | Always |
| Publisher Method | Text | The export method used — currently supports COM Interop via Bentley View or MicroStation. | ❌ | Always |
If no Advanced Export Settings are provided, the node uses the following defaults:
| Setting | Default Value |
|---|---|
| Paper Size | A3 |
| Orientation | Landscape |
| Plot Area | Extents |
| Color Mode | Color |
| Output Mode | Single File |
| Plot Config | (empty) |
| Models to Export | All |
| Scale | Fit to Page |
| Center on Page | true |
| Apply Line Weights | true |
| Plot Border | false |
| Publisher Method | COM Interop |
The Advanced Export Settings field allows you to define structured JSON settings for conditional exports or multiple configurations.
rows where Paper Size equals that control value.| Setting | Example Value |
|---|---|
| Local File Full Path | C:\Projects\Drawings\Layout001.dgn |
| Export Type | PDF |
| Paper Size | A3 |
| Orientation | Landscape |
| Plot Area | Extents |
| Color Mode | Color |
Result: Exports the specified DGN file to a single-page, color A3 landscape PDF.
| Setting | Example Value |
|---|---|
| Local File Full Path | C:\Projects\Drawings\Layout002.dgn |
| Export Type | PDF |
| Advanced Export Settings | (JSON as above) |
| Publisher Method | COM Interop |
Result: Automatically applies different export settings based on the “Paper Size” control variable.
After successful execution, this node produces the following outputs.
| Output Variable | Type | Description |
|---|---|---|
| Exported Files | Text (semicolon-separated list) | Full paths of exported files. |
| Export Count | Number | Number of exported files. |
| Local File Full Path | Text | Path to the primary exported file (for single file outputs). |
| Processing Time | Text | Total export time in seconds. |
| Publisher Method | Text | Method used to publish (currently COM Interop). |
| Application Used | Text | The Bentley application used (MicroStation or Bentley View). |
| Connected Application | Text | The detected COM-connected application instance. |
| Processed Models | Text | Comma-separated list of processed model names. |
.DGN file.| Status | Description |
|---|---|
| Completed | Export successful. |
| Fail | The DGN file could not be found, or an unsupported export type was specified. |
| Warning | Export completed with minor issues (e.g., window coordinates invalid, defaults applied). |
If export fails, the node logs diagnostic details and stops the workflow at this step. Common causes include:
PDF currently supported)DWF, PLT, PNG, JPG) are reserved for future updates.1:2).Category: CAD → Bentley Task Name: DGNExport