Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Export DWG - hide dialog when elements are hidden/isolated

0 REPLIES 0
Reply
Message 1 of 1
p.serek
137 Views, 0 Replies

Export DWG - hide dialog when elements are hidden/isolated

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

Labels (4)
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report