I am trying to grab the Viewports located on a linked Sheet. I have tried View.GetViewport (SteamNodes) and Sheet.GetViewportsAndViews (Rhythm). They both grab the Viewports of two sheets and then return null for the rest. View.GetViewport returns null for each viewport placed on the sheet and I have confirmed the sheets are not blank. Does anyone have any ideas?
Warning: Sheet.GetViewportsAndViews operation failed.
The call is ambiguous between the following methods or properties: ‘Revit.Elements.ElementWrapper.Wrap(Autodesk.Revit.DB.CurtainSystem, bool)’ and ‘Revit.Elements.ElementWrapper.Wrap(Autodesk.Revit.DB.FamilyInstance, bool)’