Message 1 of 2
iLogic Design View Error
Not applicable
01-29-2014
04:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm getting an infrequent error with my code. Occasionally I get this error:
What does this mean and how can I fix it? Here's my code:
Dim doc as AssemblyDocument = ThisDoc.Document
Dim oAsmCompDef As ComponentDefinition
oAsmCompDef = doc.ComponentDefinition
Dim oCompOcc As Inventor.ComponentOccurrence
For Each oCompOcc in oAsmCompDef.Occurrences
oCompOcc.SetDesignViewRepresentation("Default", True)
Next
ThisApplication.ActiveView.FitAny help would be greatly appreciated. Thanks guys.
