Maybe someone of you has some good thinking on this!
Is there a way to read and copy the families stored in the Revit model?
If these are loaded, up-to-date families from a folder structure, it is not problematic for me because in this case I know the save path and can get the family information (last modification date) via VBA-Makro and the families itself via Dynamo.
Now it can come to the case that we have separate model files for different planning phases / planning stages (we do not use the revit phase filters), which in turn contain families that have a different current status than those in the âcurrentâ family order.
The reason is, if we want to return to a planning variant / pre-study or want to export an old planning status - that the old status is fully preserved (model, families at that time).
In this context, it would also be important to know the last modification date of the families in the model.
If I want to read out the current status of families in a folder structure, I can do this via a VBA macro.
Since I do not know the path of the families, I tried to save these families via Dynamo in a folder.
However, this does not lead to the desired result, because the last modification date is modified to the current time, as soon as i save them to a new path. This was my approach:
I suppose it is not fully stable, because some exceptions got thrown (âfamily is not editableâ, âDependencies are not respectedâ).
With the families in the Revit model, the path is unknown to me. How are they integrated into the model or where are they located after they are loaded into the model?
Example:
Family was loaded into the model on 10.09.
However, family was revised in October.
I would now like to read out the family with modification date 10.09 from the model.
What approaches could I use here to get the modification date?
I am still lacking a bit of direction / approach as I am still unclear on how families are stored within the model.
Thanks for your time!