How to output or export all node names in Civil 3D 2026 Dynamo
Can you be more specific? Have you tried anything?
Start here, it may be a little out of date and use the python dir() function to get available nodes (and attributes/methods)
Quick and dirty code
from System import Action
from System.Windows import Application
def collect_search_model():
for window in application.Windows:
if window.GetType().FullName == "Dynamo.Controls.DynamoView":
search_models.append(window.DataContext.Model.SearchModel)
return
raise RuntimeError("No open Dynamo window was found in this process.")
application = Application.Current
search_models = []
application.Dispatcher.Invoke(Action(collect_search_model))
OUT = [e.Name for e in search_models[0].Entries]
Thank you very much. It works very well.