Created
August 25, 2020 03:43
-
-
Save chuongmep/1477ebc904a529a18f1472b08a9f740c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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