Hello guys
I am trying to create multiple floor plans with the python code below, but I can’t get it right.
I am getting the error shown in the image below.
Thanks for your help.
doc = DocumentManager.Instance.CurrentDBDocument
#inputs
floorPlanType = IN[0]
levels = IN[1]
TransactionManager.Instance.EnsureInTransaction(doc)
for l in levels:
views = ViewPlan.Create(doc, floorPlanType.Id, l.Id)
TransactionManager.Instance.TransactionTaskDone()