Family Type Drop Down - Data Shapes

This is not giving me the drop down of family types. Any ideas on the sequence before entering the UI.DropDown Data?

Hi @Smaren


Tried. Still no drop down results:

Try to use FamilyType.ByName node and write family type in code block as string.


Something like this? Tried a few different combinations:

Hi @Smaren,

Maybe selecting multiple Family Types will help

Data-Shapes_DropDownExample.dyn (15.3 KB)

Hi, I meant like that:


I am looking to have the drop down be able to select from the list of family types. The create list just allowed the user to select the two different family types.

You can call then all family types and use them as values if you want to list all family types and select from them.
The node is from Orchid Package.

Thanks @Deniz_Maral but I prefer not to use Orchid package as its a hassle for my team to download. Any other approaches?

import clr

import RevitServices
from RevitServices.Persistence import DocumentManager
doc = DocumentManager.Instance.CurrentDBDocument

from Autodesk.Revit.DB import *

import Revit

types = FilteredElementCollector(doc).OfClass(FamilySymbol)

OUT = [el.ToDSType(True) for el in types]
1 Like

Or like this ?

Data-Shapes_DropDownExample_v01.dyn (15.5 KB)

1 Like