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)
{
}
}