Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I want to get the size information as in the iproperties of a file (ipt or iam). But I can't find it in object of document.propertysets. How can I get it through Inventor API?
I tried generic VB.NET code such as:
Dim myFile As New FileInfo(Part2.FullFileName)
Dim sizeInBytes As Long = myFile.Length
But the resulted file size is a little different from the one in iproperties. a bit puzzle!
Anyone can help?
Thank you so much!
Thanks
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit
Solved! Go to Solution.