Retrieve Dimension from Assembly - Slow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm using the code from here:
to retrieve dimensions from an assembly. The issue is when i use it on a large assembly it's incredibly slow (can take up to 5 minutes) or sometimes Inventor just freezes indefinitely.
i can check that dimensions are retrieveable by using:
oSheet.DrawingDimensions.GeneralDimensions.GetRetrievableDimensions(oView, oDCproxy)
and this line executes very quickly. But when i come to retrieve the dimension Inventor freezes
My assembly I'm retrieving from has lots of parts with derived sketches, so I'm wondering if it's something to do with that?
Is there another method i could try?
Any help would be appreciated,
thanks,
John