Find out which Export Setup is applied

How do I find out exactly which one of the DWG Export Setups is applied to the project?

Hi @theshysnail,

I can’t seem to find an OOTB node for this (there may be one in a 3rd party package), but here is some python to do exactly what you want…

import clr

clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
doc =  DocumentManager.Instance.CurrentDBDocument

clr.AddReference("RevitAPI")
from Autodesk.Revit.DB import *

OUT = ExportDWGSettings.GetActivePredefinedSettings(doc)

Just chuck that in a python node and it should work right away.

1 Like