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: 

DWG Export Settings

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Dale.Bartlett
855 Views, 1 Reply

DWG Export Settings

Is it possible to get the DWG Export Settings in the current project? Dale




______________
Yes, I'm Satoshi.
1 REPLY 1
Message 2 of 2

Update:

I received this reply from ADN:

 

Thanks for your query,

Yes, we can get ExportDWGSettings, this class inherits from Element, so we can use ElementFilter to filter all of them. code example:

 

            var settingFilter = new ElementClassFilter(typeof(ExportDWGSettings));

            FilteredElementCollector exportDwgSettings = new FilteredElementCollector(RevitDoc);

            exportDwgSettings = exportDwgSettings.WherePasses(settingFilter);

            foreach (ExportDWGSettings element in exportDwgSettings)

            {

 

            }

 

Best Regards,

Aaron Lu

Developer Technical Services http://adn.autodesk.com

 

And this post seems to duplicate the request (with responses):

http://forums.autodesk.com/t5/revit-api/how-to-get-exportdwgsettings-use-revit2014-api/m-p/5427133/h...

I am yet to test the samples.

Dale

 




______________
Yes, I'm Satoshi.

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community