Sum of Linked models size for a Revit File Name

So I am most likely missing something really easy.

I am working on a Project Specific view to help our BIM manager Identify starting points for trouble shooting and see a few things a little easier for our specific needs.

One thing I am trying to do is create a view that will show all the linked revit files to a File Name (Revit File) and the size of said linked file.

  • I am trying to create a line graph that will show the growth or decline of the total size of the linked models connected to (linked) to the Revit file.

So far this is what I have created - I have a control on the overall page that allows me to pick the Revit file. (File Name)

  • Issue I am having is that these numbers are not correct. This is the size of the files shown in the ACC file location

Any Ideas how I could accomplish what I am trying to do?

Thank you!

@Gilly I think the issue is that the file.size(MB) doesn’t correspond to the file path of the linked file, but rather to the file size of the host file. That’s your Revit file size. That’s why they are different than what you see in the ACC for the IFC files.

Now, we don’t collect file sizes for these linked files. Not yet. This would be easy to add for local files. I am not sure if that data is available for the ACC files and if it is how we can pull that. I will log that into our TODO, and keep you posted.

I am sorry.

Sounds good - thanks for the insight. I will look for this in the future.

1 Like

@Gilly this should be good to go for the next release. I was able to try and get the file size of the link if it was stored locally, or in ACC. If it’s in ACC and it’s an RVT file then I can get its file size from the Collaboration Cache folder, otherwise for IFC files I can get them via Desktop Connector assuming that is the only way to link an IFC file into Revit via ACC. Does this sound like a valid approach?

That sounds Great - Thanks for the follow up.