DGNExportOptions Class

The export options used by exporting DGN format file.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBBaseExportOptions
    Autodesk.Revit.DBDGNExportOptions

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class DGNExportOptions : BaseExportOptions

The DGNExportOptions type exposes the following members.

Constructors
 NameDescription
Public methodDGNExportOptions Constructs a new instance of DGNExportOptions with default values of all properties.
Public methodDGNExportOptions(DGNExportOptions) Constructs a new instance of DGNExportOptions as a copy of the export options.
Top
Properties
 NameDescription
Public propertyColors Export color mode. Default value is ExportColorMode.IndexColors.
(Inherited from BaseExportOptions)
Public propertyFileVersion The DGN file version. Default value of fileVersion is DGNFileFormat.Default.
Public propertyHatchPatternsFileName Custom hatch patterns (pat) file name.
(Inherited from BaseExportOptions)
Public propertyHideReferencePlane Whether or not to hide reference planes. Default value is false.
(Inherited from BaseExportOptions)
Public propertyHideScopeBox Whether or not to hide the scope box. Default value is false.
(Inherited from BaseExportOptions)
Public propertyHideUnreferenceViewTags Whether or not to hide unreference view tags. Default value is false.
(Inherited from BaseExportOptions)
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from BaseExportOptions)
Public propertyLayerMapping Name of a layer settings standard or filename (with custom layer settings). Valid standards are: DGNV7 (only for DGN), AIA, CP83, BS1192, and ISO13567. default value is "" (empty) which means if no value is set, if no value is set, Revit will use a default value according to the localization.
(Inherited from BaseExportOptions)
Public propertyMergedViews Whether to merge all views in one file (via XRefs). Default value of mergedViews is false.
Public propertyPreserveCoincidentLines Whether or not to preserve coincident lines. Default value is false.
(Inherited from BaseExportOptions)
Public propertyPropOverrides How to export overridden object styles. Default value is PropOverrideMode.ByEntity.
(Inherited from BaseExportOptions)
Public propertySeedName The name of the DGN seed. Default value of seedName is empty.
Public propertyWorkingUnits If true, Main Units will be used. If false, Sub Units will be used. Default value of WorkingUnits is true.
Top
Methods
 NameDescription
Public methodDispose
(Inherited from BaseExportOptions)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetExportFontTable Gets font table.
(Inherited from BaseExportOptions)
Public methodGetExportLayerTable Gets the layer table.
(Inherited from BaseExportOptions)
Public methodGetExportLinetypeTable Gets a copy of the line type table.
(Inherited from BaseExportOptions)
Public methodGetExportLineweightTable Gets a copy of the line weight table.
Public methodGetExportPatternTable Gets a copy of the pattern table.
(Inherited from BaseExportOptions)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetPredefinedOptions Returns an instance DGNExportOptions containing settings from a predefined export setup.
Public methodStatic memberGetPredefinedSetupNames Returns a list of names of predefined setups of DGN export options.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetExportFontTable Sets font table to option.
(Inherited from BaseExportOptions)
Public methodSetExportLayerTable Sets layer table back to option
(Inherited from BaseExportOptions)
Public methodSetExportLinetypeTable Sets the line type table to use during export.
(Inherited from BaseExportOptions)
Public methodSetExportLineweightTable Sets the line weight table to use during export.
Public methodSetExportPatternTable Sets the pattern table to use during export.
(Inherited from BaseExportOptions)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also