Export DWG - hide dialog when elements are hidden/isolated

Export DWG - hide dialog when elements are hidden/isolated

p.serek
Contributor Contributor
189 Views
0 Replies
Message 1 of 1

Export DWG - hide dialog when elements are hidden/isolated

p.serek
Contributor
Contributor

Hello everyone,

 

I would like to export Revit views to dwg with some hidden elements. When I do the export a dialog appears:

pserek_0-1701428767470.png

I would like to skip this window or be able to just set default value for input for this dialog.

 

Here is a snipped:

 familyDoc.Export(exportPath, $"{family.Name}_{familyInstance.Symbol.Name}",
     new List<ElementId> { exterior.Id },
     new DWGExportOptions { Colors = ExportColorMode.IndexColors, HideScopeBox = true });

Is there any property of DWGExportOptions to hide this dialog? Or maybe some Revit settings to prevent this dialog from showing up?

 

Best regards,

Przemek

0 Likes
190 Views
0 Replies
Replies (0)