Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have an iLogic code that works on all assemblies in the Main Assembly.
And I want to make it work in all the Assemblies and Subassemblies also. But I don't know how.
Can anyone help me to adjust the code?
Dim doc As AssemblyDocument = ThisDoc.Document Dim cdef As ComponentDefinition = doc.ComponentDefinition Dim occ As Inventor.ComponentOccurrence For Each occ In cdef.Occurrences Try occ.SetDesignViewRepresentation("Default", True, True) Catch End Try Next
Solved! Go to Solution.