Valued Contributor
Posts: 82
Registered: ‎03-06-2012
Message 1 of 3 (187 Views)
Accepted Solution

Export to .dwfx using .net API

187 Views, 2 Replies
11-16-2012 05:28 AM


 I want to export .dwg file to .dwfx using .net api, can any one help me in solving this issue.

Distinguished Contributor
Posts: 105
Registered: ‎12-29-2005
Message 2 of 3 (173 Views)

Re: Export to .dwfx using .net API

11-16-2012 07:13 AM in reply to: chockalingam

Within your plot routine do something like this:


PlotSettings ps_base = (PlotSettings)t.GetObject(ObjectId_of_Layout, OpenMode.ForWrite);

PlotSettingsValidator psv = Autodesk.AutoCAD.DatabaseServices.PlotSettingsValidator.Current;

psv.SetPlotConfigurationName(ps_base, "DWFx ePlot (XPS Compatible).pc3", null);




*Expert Elite*
Posts: 1,569
Registered: ‎10-08-2008
Message 3 of 3 (164 Views)

Re: Export to .dwfx using .net API

11-16-2012 08:07 AM in reply to: chockalingam

Try code written by Balaji Ram from there




just in case if you have DwgPreView installed

and also change file extension on what you need


You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community