How can I change export options from Revit to DWG? Revit API C#

How can I change export options from Revit to DWG? Revit API C#

ricardo_garrido93R68
Observer Observer
194 Views
0 Replies
Message 1 of 1

How can I change export options from Revit to DWG? Revit API C#

ricardo_garrido93R68
Observer
Observer

Hello, I created a software to be able to apply properties to DWG files coming from Revit, this works perfectly, however, it depends on a correct export from Revit, specifically that its layers are named under an internal standard, and that views are not created with the external references. What I would like is for my Revit plugin to give you the possibility to select a standard layer TXT file when exporting, and also immediately deactivate the export of external references, which is the last box in the general tab "Export views and links as external references". I have not been able to find a method that allows me to do this from the Revit API in C#, if anyone has any ideas or has done it before I would appreciate if you could support me. I am already exporting from Revit using a button, also launching Cad and executing the command created for the properties, I just need to be able to manipulate the export. I am using Revit 2021.1 and .NET 4.8.

0 Likes
195 Views
0 Replies
Replies (0)