Import all categories from linked file

Hi,

I am trying to get all categories from a linked file. It works when I use OOB revit nodes but I could only retrieve 1 category at a time. I tried getting all categories from data-shapes packages but it didnt work.

I thought it might be due to the object data type, check out the image below.
“Revit.Elements.categories” VS “Autodesk.Revit.DB.Category”

Any advise would be cool

Thanks & Regards,
Han

Try the same graph in 1.3. This may be due to the Datashapes package not having been updated.

Alternatively you could try to manually create a list of categories and pass that into the working node.

1 Like

Hi @JHJHJHJH

Input “Category” at archi-lab custom node is expecting Revit.Elements.Category. The easiest way is to use Category.ByName node after “Category name(s)” and connect the values to “Category” at custom node. Cheers!

2 Likes

Hey @JacobSmall @Kulkul !

Thank you so much for your help! I think the list of categories should work for me :slight_smile:

Thanks everyone!