FamilyDocument.GetCategory

Hello everyone
Is there any other way to get category name from Document (Dynamo 2.3)


v2020 Create Library.dyn (18.7 KB)

Hi @vishalghuge2500 try something here and see if it could work…


1 Like

Perhaps load the families into the active (and otherwise empty) document and query the resulting category?

@sovitek


Im using revit 2020 (Rhythm 2021.6.1)
ʳʰʸᵗʰᵐ|Documents.DynamoDocumentToDbDocument node is not available

FamilyDocument.ByDocument this node is not available in revit 2020

yeah couldnt really remember when it comes…but strange seems in 2020 it gives autodeskdb document…and not revit application document…does it work if you do as here…

btw an other option could be as Jacob suggest

Document - string to - FamilyDocument - Not working

& I dint understand what @jacob.small suggested. please explain again

Hmm are you sure these package are updaded

@sovitek Yes i have checked,
For my revit 2020, rhythm 2021.6.1 and lower lover versions are working, above 2021.7 are not working

Your current process involves opening N family in the background, and (hopefully) closing them after you get the data.

An alternative would be to load N family files into your project, get the category data from the family elements, and then delete the family elements.

@jacob.small
But how we can filter the new loaded families and old families?


like this?

Skip the background loading, use a load family from clockwork I believe. No need to filter work with the output as you did here.

1 Like