- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Recently I was asked to create solution for batch export geometry of some filtered assembly components (including cuts done within assembly environment) to IGES.
The only way I've found to do so is to leave the only components visible and then export the whole assembly.
My first try was to cycle through AllLeafOccurrences, select one, perform Isolate command, do export and perform UnIsolate command. But that is extremely slow even with ScreenUpdating off.
A bit better was second approach: switch visibility off for all components and then in cycle make each visible, export assembly and switch the processed component visibility off (about 55% faster then first approach).
BUT even second approach on real project (>4000 occurrences with about 270 to be export) performs ~60 times slower (30 minutes !! instead of 30 seconds) than just export same components without assembly features (direct *.IPT -> *.IGES).
For some reason speed-difference on simple test assembly attached is not that dramatical (only about ~4 times):
1st approach ~90sec
2nd approach ~37sec
3rd (IPTs) ~9sec.
The code to perform any of the 3 approaches mentioned (set with answer on one or two consequent MsgBox-es) is also attached.
I'd like to know if there any way to perform the export asked more-or-less faster than the second approach?
PS:
Isn't it be strange that Inventor-programming forum don't accept uploading files with *.iLogicVB extension?
What is a supposed way to sound an idea to add forum functionality?
Please vote for Inventor-Idea Text Search within Option Names
Solved! Go to Solution.