Get SubCatgegory of Reference planes, how?

Hello,

how to get the subcategory name ?


KR

Andreas

What exactly is your problem? As far as I can see you get the names in the x.Name-Node

@leonard.moelders ,

i wan’t to filter my refplanes by SubCategory f.e. group by key but it does not work.
i can groub them, but i can`t see by what !

KR

Andreas

Works in Revit 2021:

@leonard.moelders ,

thats weard… is this a bug, i work in Revit 2022…
is there a work-around?
KR
Andreas

You are probably getting null/nothing at the x.Name because one of your reference planes does not have a SubCategory set. Hopefully the below helps to show how i would group the original reference planes by SubCategory.

Edit: This was done in revit 2022

1 Like