Message 1 of 3
C# Scroll through documents tabs.

Not applicable
09-05-2019
01:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
For my Add-in i want to scroll throught the tabs in Inventor.
When i do it with visual documents the order is not always correct like on the tabs.
Is there a way that i get the same list of the tabs that are opened?
When i open a part in a document the list doesnt follow anymore.
The tabs that i want to follow for example:
i am currently using Inventor 2019.
Example code:
for (int i = 1; i < oApp.Documents.VisibleDocuments.Count; i++) { MessageBox.Show(" Count : " + oApp.Documents.VisibleDocuments[i].DisplayName); }