I am trying to build a graph that would check all of a .rvt project’s families for any imported DWGs. I started off trying to get the graph to export all of the .rfa files as part of the process, but abandoned that, and will just have people save their .rfa library out from within Revit.
Now - I was able to get the graph to function, but the Output names of the families could sometimes be confusing as to what family type a particular family was (better family naming conventions might help… but that’s beside the point). To help clarify the results, I wanted to use the “read text” trick mentioned in this thread to get the family categories for the problematic families, and include them in the output.
Now - the problem I am having is twofold… Originally, I was getting error messages that the .rfa files couldn’t be read by the File.ReadText node, because the files were all being used by some other thing at the time.
I tried adding a passthrough node to try to get the two parts of the graph to work in sequence, but then I started getting warnings that “Cyclic Dependencies Exist Between Two Variables”
I am not sure if that is now why the .rfa files aren’t being read - or if the issue is still that the files are “busy”
Anyway - here is my graph and .dyn file. Any thoughts?