Forum

Author Topic: How to? Access object file size  (Read 3254 times)

PeterBetlem

  • Newbie
  • *
  • Posts: 9
    • View Profile
How to? Access object file size
« on: July 06, 2023, 01:10:09 PM »
Hi,

What is the easiest way of accessing file size information through the Python API? I have tried accessing the file size for a mesh+textures, but do not seem to be able to find this information in the objects "meta" properties. This would be great information to have for certain processes (e.g., to decide whether or not to decimate models).

If not currently possible, it would make for a straightforward addition to the API, seeing as the information is already present in the information panel itself besides Creation Date and Software version; which do both show up in the "meta" property.
« Last Edit: July 06, 2023, 01:12:24 PM by PeterBetlem »