Determine the individual worksets of each element within a linked revit file

I would like to extract a list (preferably in excel or html) of all the elements and their corresponding worksets within a linked revit file and would like to create a dynamo script to automate this process.

I am still very new to dynamo and have tried using the Elements.Workset and GetParameterValueByName but I am having difficulty in building the script overall. Thank you in advanced! :smile:

Start with getting on how to get Revit links instance first, then see what you’ll get from there

Most nodes don’t require a document input to know which document you’re querying. They assume you’re looking at the active document. Workset is an element parameter, which means those nodes won’t find any matching elements in the active document. You will either need to find a custom node that takes a document input (so you can provide the link document) or write your own python code that uses the link document.

2 Likes