Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

get node name dynamo revit

import clr
# Adding the DynamoRevitDS.dll module to work with the Dynamo API
clr.AddReference('DynamoRevitDS')
import Dynamo 

# access to the current Dynamo instance and workspace
dynamoRevit = Dynamo.Applications.DynamoRevit()
currentWorkspace = dynamoRevit.RevitDynamoModel.CurrentWorkspace

nodeNames = []

for i in currentWorkspace.Nodes:
	nodeNames.append(i.Name)

OUT = nodeNames
Comment

PREVIOUS NEXT
Code Example
Python :: how to import a all the modules in a packege python 
Python :: matmul shorthand numpy 
Python :: mechanize python #6 
Python :: mechanize python XE #26 
Python :: python how to close the turtle tab on click 
Python :: django nested inlines 
Python :: convert integer to string python 
Python :: Local to ISO 8601 without microsecond: 
Python :: pygame is not defined 
Python :: example of python application from github to docker image 
Python :: 4.3.3. Reassigning Variables 
Python :: remove duplicate rows in pandas 
Python :: group by month and year 
Python :: r is.na pandas 
Python :: Doubleclick .py Prep 
Python :: square root in python numpy 
Python :: flassger 
Python :: import image files from folders 
Python :: Code Example to Check the type of None object 
Python :: Math Module atan() Function in python 
Python :: unique character 02 
Python :: python comment faire une boucle 
Python :: which can be reversed , string or list? 
Python :: Elasticsearch scroll with Parallelism r 
Python :: Python NumPy atleast_2d Function Syntax 
Python :: python read file with class 
Python :: Python NumPy asscalar Function Example 02 
Python :: Python NumPy insert Function Example Using insertion at different points 
Python :: Python __sub__ magic method 
Python :: del mutiple indexes at once 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =