Skip to content

DGN Export ​

Exports a Bentley MicroStation DGN file to PDF using Bentley View or MicroStation via COM Interop.

Serialised Task

This task runs through the serialisation queue. Only one instance of this task executes at a time across all concurrent workflows. If multiple workflows reach this task simultaneously, they will queue and execute one at a time.

Purpose ​

Use this task when a workflow needs to produce a PDF from a DGN drawing — for example, to generate a print-ready output for distribution, to archive a drawing at a specific revision, or to produce consistent plot outputs across a batch of engineering files. Export settings such as paper size, orientation, colour mode, and plot area can be defined directly or via a conditional advanced settings table that selects the appropriate profile based on a drawing property value. Bentley View or MicroStation must be installed on the automation server.

Inputs ​

FieldTypeRequiredDescription
Local File Full PathTextYesFull path to the DGN file to export.
Export TypeDropdownYesThe target output format. Currently only PDF is fully implemented.
Advanced Export SettingsKey-Value PairsNoOptional lookup table that maps a control property value to a row of export settings (paper size, orientation, colour mode, etc.). When provided, the node selects the matching row; if no match is found it falls back to the first row. Only relevant for PDF, DWF, and PLT exports.

Visibility Rules ​

Advanced Export Settings is only shown when Export Type is set to PDF, DWF, or PLT.

Outputs ​

NameDescription
Exported FilesSemicolon-separated list of full paths to the exported files.
Export CountNumber of files produced by the export.
Local File Full PathPath to the primary exported file when only one file was produced.
Processing TimeTime taken to complete the export, expressed in seconds.
Publisher MethodThe publishing method used (COM Interop).
Application UsedThe Bentley application that performed the export (MicroStation or Bentley View).
Connected ApplicationThe COM-connected application instance that was detected and used.
Processed ModelsComma-separated list of model names that were included in the export.

Tentech