Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Select all in workset

Select all in workset

if i need to show only workset elements, i shall hide all worksets in view.. Now i am working in rail project and the only satation have about 30 workset...and that process is too slow and not useful, and i didn't need to make a parameter to catch elements on schedules.

Now we think about what if we have a selection tool called "select all elements in workset" and " select all instance in workset "

It will be helpful and useful for all of us

Ha! There is a Dynamo solution 🙂
But yeah, it should be an option in Revit.

For those looking for a non-dynamo, everyman's workaround for this: Pick a view, any view, uncrop, turn on temporary view properties, change the view range to unlimited top and bottom, and then turn off all worksets except the one you're looking for. Then window everything and filter for the model elements.

Not applicable

there are more options that should be in revit like "move  object from one level to another level"

Not applicable

Working on a large scale project here and need to enter parameters for all elements under a specific workset. I have a dynamo solution but want to refine it by eliminating my manual selection of elements. @Yien_Chao What is the dynamo solution that you mentioned above?


here a hint... the code. it not 100% Dynamo, but a mix with a Python coding.

You have to input a workset by name in this case ...

use :  Workset.GetAll();

also : i use instance, but you have to input every type of instance you want to select.



import clr

# Import DocumentManager and TransactionManager
import RevitServices
from RevitServices.Persistence import DocumentManager

# Import RevitAPI
import Autodesk
from Autodesk.Revit.DB import *

Workset = IN[0].Id
WID = WorksetId(Workset)

doc = DocumentManager.Instance.CurrentDBDocument
collector= FilteredElementCollector(doc)
filter =ElementWorksetFilter(WID)

els = collector.OfClass(Instance).WherePasses(filter).ToElements()

OUT = els

Not applicable


There is a solution to select elements by them worksets and categories ?

I need to reduce the size of a Dynamo script.

So, I don't want to filter all the elements by them worksets because I think it increase the loading delay.



Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea  

Autodesk Customer Advisory Groups

Autodesk Design & Make Report