Quantcast
Channel: MicroStation Programming - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1677

Re: [V8i-SS2 VBA] File Properties - Statistics

$
0
0

Hi Colin,

I checked the statistics in the dialog quickly and what I found:

  • Total editing time: ActiveDesignFile.TotalEditingTime
  • Levels: ActiveDesignFile.Levels.Count
  • Levels Used: Seems you have to iterate through ActiveDesignFile.Levels and test for IsInUse property.
  • Models: ActiveDesignFile.Models.Count
  • References: ActiveModelReference.Attachments.Count
  • Elements: Probably has to run own scan for all graphic elements, which is fortunately quite easy.
  • Original File Format: Have not found a propert VBA method, but you can call mdlModelRef_getOriginalFormat function using wrapper.

With regards,

  Jan


Viewing all articles
Browse latest Browse all 1677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>