- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I want to export some views to a DWF file
But I keep getting this error:
cannot convert from 'Autodesk.Revit.DB.DWFExportOptions' to 'Autodesk.Revit.DB.SATExportOptions
The code look like this:
IList<ElementId> ImageExportList = new List<ElementId>();
// Here I select the viewes I want to export
ImageExportList.Add(View.Id);
var Eksport_DWF = new DWFExportOptions
{
MergedViews = true,
};
String FileName = "TESTNAME";
Export(DistFolder + @"\Billeder\", FileName, ImageExportList, Eksport_DWF);
The Path and the Imageexport list is the same one I am using in the same code for image export, where they worked well
I have tried to add .dwf to the FileName
What do I do vrong ?
Anders Kaas
Solved! Go to Solution.