Autodesk Revit Architecture
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Exporting Sheets from a list of Projects
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
93 Views, 0 Replies
11-08-2012 12:55 AM
Hi,
i was trying to export sheets from multiple .RVT projects.
When i tried set the minimized document's active view as as view sheet and export that , I got an exception "SEHException crossed a native/managed boundary". My code exports sheets only whose active document is not null.
But i need to export currently opened all .RVT projects.
I attempted to change the active in this way and got problem. Plz suggest any ideas.
void SetActiveView(ViewSheet vs)
{
try
{
ApplicationData.Doc.ActiveView = vs;
}
catch (Exception)
{
}
}
