Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

revit dynamo select all categories

import clr

# Import DocumentManager and TransactionManager
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager

# Import RevitAPI
clr.AddReference("RevitAPI")
import Autodesk
from Autodesk.Revit.DB import *

doc = DocumentManager.Instance.CurrentDBDocument


OUT = [i.Name for i in doc.Settings.Categories]
Comment

PREVIOUS NEXT
Code Example
Python :: Shelve Data Storage 
Python :: python generate random password 
Python :: mail.send_message flask not working, SSL == 465 
Python :: python loop over lists 
Python :: python for skip header line 
Python :: pls work 
Python :: keras model predict list of input tensors 
Python :: how to add multiple commands to tkinter button 
Python :: loop only to the 6th element python 
Python :: blakyubeuiwbciwcqiby7ib.py 
Python :: for c in range python 
Python :: r Return each result with an index 
Python :: how to run django server outside world 
Python :: discard method in python 
Python :: python strong type 
Python :: python check if class has any methods 
Python :: timedistributed pytorch 
Python :: _set.filter django 
Python :: hide model field form 
Python :: How to Remove Items in a Set in Python Using the remove() Method 
Python :: double linked list python 
Python :: how to get each word in a string in python 
Python :: python get the X charecters at the end of a string 
Python :: python input() google suche 
Python :: Python List Note 
Python :: Function argument unpacking in python 
Python :: pyqt5 running string and clock stackoverfloww 
Python :: await not working python 
Python :: django check if related object is None 
Python :: what is flash in flask 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =