Skip to content

Instantly share code, notes, and snippets.

@chuongmep
Created August 25, 2020 03:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuongmep/1477ebc904a529a18f1472b08a9f740c to your computer and use it in GitHub Desktop.
Save chuongmep/1477ebc904a529a18f1472b08a9f740c to your computer and use it in GitHub Desktop.
# Enable Python support and load DesignScript library
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
clr.AddReference("RevitAPI")
from Autodesk.Revit.DB import *
lst = []
docs = IN[0]
for doc in docs:
lst.append(doc.Title.ToString())
OUT = lst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment