# Get file weight from dwg files

**URL:** <https://forum.dynamobim.com/t/get-file-weight-from-dwg-files/88981>\
**Category:** Revit\
**Tags:** revit, python, dynamo\
**Created:** [April 26, 2023, 3:55pm UTC](https://forum.dynamobim.com/t/get-file-weight-from-dwg-files/88981 "2023-04-26T15:55:14Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [April 26, 2023, 8:48pm UTC](https://forum.dynamobim.com/t/get-file-weight-from-dwg-files/88981/11 "2023-04-26T20:48:53Z")

</div>

Warnings can, at a certain point, be a large influence on model performance (not sure about size). If you’re wanting to look at warnings that’s a separate issue from file size.

There are some nodes (I think from [archi-lab](https://forum.dynamobim.com/t/revit-2022-dynamo-2-10-package-not-showing-up-and-icons-missing/62933/7?)?) that deal with warnings that would be a good starting point. You could also go through the API but there’s not much in the way of managing warnings (last time I checked anyway).

Warnings themselves also don’t have a direct relationship with file size or performance. You’d be able to look at your model as a whole, with all its warnings, but you’d still have to make an educated decision on how much of an impact those warnings are making on your model.

---

_[View the full topic](https://forum.dynamobim.com/t/get-file-weight-from-dwg-files/88981)._
