• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Revit Architecture

    Reply
    Member
    Posts: 3
    Registered: ‎11-08-2012

    Exporting Sheets from a list of Projects

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

                }
            }

    Please use plain text.