Progress bar for CustomExporter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am working on adding a progress bar to my implementation of custom exporter. The idea is to progress the bar after processing every element. To make that work properly, I need to know how many elements I should expect.
I know there are several ways to get the elements that represent 3D geometry in a document, but none of them appear to give me the correct number.
Is there a way to know how many elements I should expect when I export a model with custom exporter? If not, what's the best approximation ?