Dynamo For Revit 2019 ✯ <QUICK>

import clr clr.AddReference('RevitServices') from RevitServices.Persistence import DocumentManager doc = DocumentManager.Instance.CurrentDBDocument

for i, elev in enumerate(elevations): try: level = Level.Create(doc, elev) level.Name = names[i] except: pass dynamo for revit 2019

elevations = [0, 3000, 6000] # in project units names = ["L1", "L2", "L3"] import clr clr

This runs in a node (from Revit > Script > Python ). Python ). OUT = "Levels created"

OUT = "Levels created"

Your test solution PDF is ready to download Download PDF