Looking to change the code below to take a list of files in the IN input instead of just the one Project1 file.
Any help would be appreciated. Thanks, Jason
import clr
clr.AddReference(‘ProtoGeometry’)
from Autodesk.DesignScript.Geometry import *
clr.AddReference(“RevitServices”)
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
clr.AddReference(“RevitAPI”)
clr.AddReference(“RevitAPIUI”)
import Autodesk
from Autodesk.Revit.DB import *
from Autodesk.Revit.UI import *
doc = DocumentManager.Instance.CurrentDBDocument
uiapp = DocumentManager.Instance.CurrentUIApplication
app = uiapp.Application
uidoc = uiapp.ActiveUIDocument
dataEnteringNode = IN
filepath = r’C:\Users\XXXXX\Desktop\Project1.rvt’
report =
modelPath = FilePath(filepath)
OUT = DocumentManager.Instance.CurrentDBDocument