Category SubCategories (SubCats) doesn't work

Hi,

I noticed that SubCats command stopped working as expected. It only shows 1 cubcategory from the list (see attached images). I first noticed that using Rhino 7 after Rhino.Inside.Revit update and now it’s the same with Rhino 8. I use Revit 2022. Any help would be appreciated…
2024-04-03 120216

This looks like a bug to me.

Until it is fixed, see if this works for you:
subcats.gh (15.8 KB)

Thank you, but I can’t figure it out how to use your script. I would like to get the list of subcategories which can then be used as an input for Component Family Form… I’m not very experienced Grasshopper user by the way.

Everything looks ok here…

Rhino: 8.7.24093.02001 (Rhino 8)
Revit: 2022.1.3 (22.1.30.34)
CLR: 4.0.30319.42000 (4.8.9181.0)
OS: Microsoft Windows NT 10.0.22631.0

Any idea why it is not working for me? Same is on different computer with Rhino 7…

Note that there are two differences in the one i posted.

The search is for <Piers (starts with), as well as Is Subcategory = True

> Ends with

< Starts with 

? Contains, same as a regular search 

: Wildcards 

; Regular expression
1 Like

Thank you, this one now seems to be working. How about the other two?

I think this will solve my problem for now - thanks a lot…

1 Like

Good to hear, i was a bit puzzled. Thanks for the update.

2024-04-03 164212

This are my specs. I dont’t have acces to my office computer with rhino 7 right now…