- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I use the code below to build a collection
Public Sub Collection_Build()
Dim oSelectSet = oApp.ActiveDocument.SelectSet
Dim i As Integer
For i = 1 To oSelectSet.Count
ColGeneral.Add(oSelectSet.Item(i))
Next
End Sub
And the code below to 're-select' after processing the selected items (so that I can repeat if necessary)
Public Sub Collection_Rebuild()
Dim i As Integer
For i = 1 To ColGeneral.Count
oApp.ActiveDocument.SelectSet.Select(ColGeneral.Item(i))
Next
End Sub
I use the code within a drawing with Views, Text, Symbols etc. for move & rotate. The process works perfectly with Inventor 2015, 2016 & 2017.
However in 2018, views will not re-select if they have been rotated. Text & symbols work as expected but views only 're-select' if they have been moved. If a rotation occurs they need to be manually re-selected.
Is there a regression within 2018 that Autodesk can look into
Regards
MattH
MattH
Product Design Collection 2026
Vault Pro 2026
Solved! Go to Solution.