Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Suggested Methods to Accurately Measuring Complete Inventor Assembly File Size?

3 REPLIES 3
Reply
Message 1 of 4
jeffrey.s.barrero
226 Views, 3 Replies

Suggested Methods to Accurately Measuring Complete Inventor Assembly File Size?

Good day, and Happy New Year Fellow CADer's 

 

I'm seeking advice on accurately measuring the comprehensive file size of an Inventor Assembly, including all associated data, links, parents, and children. I've been exploring various methods, and I am hoping there is a better method than using Pack and Go.

 

Could someone kindly guide me on what they believe to be a reliable and trusted approach to measure the complete size of an Inventor Assembly file?

 

Your insights and expertise would be greatly appreciated.

 

Thank you for your time and wish you all an amazing 2024!

 

NOTE: Software:

  • Inventor Professional 2022.4.1
  • Vault Professional 2022.3
  • OS: Windows 10 & Office 365 (64 Bit)
Tags (1)
Labels (3)
3 REPLIES 3
Message 2 of 4
swalton
in reply to: jeffrey.s.barrero

Maybe an iLogic rule or something with Visual Basic?  I don't know if iLogic can pull the size-on-disk info for a document.

 

I'd try over on the Inventor Programming forum.  https://forums.autodesk.com/t5/inventor-programming-ilogic/bd-p/120

Steve Walton
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Inventor 2024
Vault Professional 2024
Message 3 of 4

The easiest method I can offer given your current software, is to Get (from Vault) your model to a new working folder.  Then measure the file size of the top-level folder.  By specifying a new working folder (somewhere other than the default) means you get a completely clean dataset without any left-over "debris" of unused parts in stray folders that often exist in the working folder.  It also ensures there are no "OldVersions" folders in the final count.

Peter
Message 4 of 4

This will cause security warning, file size in bytes:

Dim oSize As Long
oSize = FileLen(ThisDoc.Document.FullFileName)
Logger.Info(oSize)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report