.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Export to .dwfx using .net API

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
chockalingam
732 Views, 2 Replies

Export to .dwfx using .net API

Hi,

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

2 REPLIES 2
Message 2 of 3
djonio
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);

...

r,

dennis

Message 3 of 3
Hallex
in reply to: chockalingam

Try code written by Balaji Ram from there

 

http://forums.autodesk.com/t5/NET/How-to-use-Export-API-for-autocad-document-object/m-p/3618168/high...

 

just in case if you have DwgPreView installed

and also change file extension on what you need

_____________________________________
C6309D9E0751D165D0934D0621DFF27919

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


Autodesk Design & Make Report

”Boost