DGN Export settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
we are trying to export all views in one single dgn file using revit api. but we can not create one single file.we can create all views in different dgn file.
we apply dgnOptions.MergedViews = true ; but nothing change in export file. what we do ? for that .
our code is shown below. If any other information is required then feel to free.
code-->
DGNExportOptions dgnOptions = new DGNExportOptions();
dgnOptions.Colors = ExportColorMode.IndexColors;
dgnOptions.FileVersion = DGNFileFormat.Default ;
dgnOptions.MergedViews = true ;
//dgnOptions.HatchPatternsFileName = @"C:\Program Files\Autodesk\Revit 2018\ACADInterop\acdbiso.pat";
dgnOptions.SeedName = "V8-Metric-Seed3D.dgn";
dgnOptions.HideScopeBox = true;
dgnOptions.HideUnreferenceViewTags = true;
dgnOptions.HideReferencePlane = true;
dgnOptions.LayerMapping = "DGNV7";
dgnOptions.PropOverrides = PropOverrideMode.ByEntity;
exported = document.Export(Path.GetDirectoryName(document.PathName),Path.GetFileNameWithoutExtension(document.PathName), views1, dgnOptions);
Thank you.