Get Family name from family document

Hello,

I would like to know how to get family names from a family document.
Is there any way / node to do it?

Thanks in advance,

@adumas7BF2H

placed in a project ?

or are you talking about nested families ?

KR

Andreas

Hi,

With an Autodesk.Revit.DB.Document you can use the Documents Properties node.

1 Like

Thanks for your help,

We are working with .rfa files from the node Document.BackgroundOpen like this :

No, we don’t need to access to nested families, just the family name from family document.
As you can see, the family.load node returns the family name, it’s exactly what we need but the family.load node generate a lot of errors.

little round about way but just get the name from from the saved files OBS nodes with green group need to be set to longest lacing

forgot to say my setup uses package orchid

ok so may be i don’t know enough how revit manages .rfa files but I can read you suppose .rfa filename always matches to his family name.
Si I understand why @Alban_de_Chasteigner sent us this kind of workflow.

Thanks a lot guys

1 Like

Family name is always the same as the name as the file if you get the families from directory which you are doing. if the family is in a project its not always the same though.

@Alban_de_Chasteigner is the same solution only diffrence is he get it from the revit database requires it to be loaded in or opened . the way i presented do not.