Hi everyone,
im trying to find out if a Sheet as a View on it. I’m pulling all the Sheets through the Get Documents + Get All Elements From Linked Model.
Sheet.Views returns and empty list and Sheets.Viewports returns an ambiguous call.
Does anyone know any work around this limitation?
Thanks
import clr
clr.AddReference(‘RevitAPI’)
from Autodesk.Revit.DB import *
watch =
for i in IN[0]:
test = len(UnwrapElement(i).GetAllViewports()) > 0
watch.append(test)
OUT = watch
I think I must be missing something but John could you use the recently updated Sheet.GetViewportsAndViews in Rhythm? It has been working great for me.