Bulk modify type parameter value for a built-in category

Hello,
Newbie here :slight_smile:

I’m looking for node that could help me “select” all types of a built-in category, without them necesseraly being present in the model, in order to batch modify a type parameter value.

To be more precise, here is an exemple of what I am looking for :
I have a template with a certain number of wall types already configured , but not modeled.
I would like to modify a type parameter value which will be set the same for all walls.
With Dynamo, I can only select elements by category that are already modeled. Is there a way to get all the elements of a certain category existing in the document but not the model?

I would appreciate any help I can get. Thank you !

Try Element.Types (Walls) and All Elements of Type.
Don’t know if that works

2 Likes

I believe WallTypes is the dropdown selection. :slight_smile:

1 Like

hi

cordially
christian.stan

Note that Element Classes and All Elements of Class we’re called Element Types and All Elements of Type prior to Revit 2024.

3 Likes

hi, thank you for generalizing Mr. Jacob (I am under 2023.1)

edit

correction with a python node if you are on an earlier version

import sys
import clr

clr.AddReference('RevitAPI')
import Autodesk
from Autodesk.Revit.DB import *

clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager
doc = DocumentManager.Instance.CurrentDBDocument

coll_walltype=FilteredElementCollector(doc).OfClass(WallType).ToElements()
OUT = coll_walltype

cordially
christian.stan

Me too

1 Like

Thanks everyone !
@christian.stan solved it for me. I was looking under Categories, Types , FamilyTypes, ElementTypes etc… But never thought I should look under Class.

PS : I’m working with Revit 2023

2 Likes


try this node
it’s retrieve all family types without the need for modeling.

1 Like

Thank you @Mahmoud_Mokhtar95
Unfortunatly, this node keeps returning nuls for some reason