Hi All,
I'm using the Revit SDK 2012 sample for ImportExport.
Using this code Revit reads all settings from AIA2 setup, except whether to merge the views. bool MergedViews { get; set; } returns always true, no matter how it is in the Setup.
//parameter : DWGExportOptions DWGExportOptions dwgExportOptions = DWGExportOptions.GetPredefinedOptions(m_activeDoc, "AIA2"); //Export exported = m_activeDoc.Export(m_exportFolder, m_exportFileName, views, dwgExportOptions);
I need help.
best regards
dear il_iliev,
are you also niki, who submitted the same question on the blog?
thank you for reporting this and your persistence!
after looking more closely at the existing change request concerning this issue, i see that that one of them is still being worked on and the fix will probably become available in the next major release. as always, we make no promises regarding future products or functionality, however.
best regards,
jeremy
--
Jeremy Tammik
Autodesk Developer Network -- http://www.autodesk.com/joinadn
The Building Coder -- http://thebuildingcoder.typepad.com
Dear Niki,
Some interesting news on this:
1. The merge views check box in the UI has no effect; views are never merged in the UI regardless of the setting.
2. The MergedViews property in the API is always initially set to false, regardless of the UI setting.
3. The good news: The MergedViews property in the API does do the job you would expect, e.g. control whether or not views are merged.
It seems to be the only way to control this, since the UI check box does not.
Thank you for bringing this to our attention!
Cheers, Jeremy.
--
Jeremy Tammik
Autodesk Developer Network -- http://www.autodesk.com/joinadn
The Building Coder -- http://thebuildingcoder.typepad.com