C# Scroll through documents tabs.

C# Scroll through documents tabs.

Anonymous
Not applicable
396 Views
2 Replies
Message 1 of 3

C# Scroll through documents tabs.

Anonymous
Not applicable

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.

2019-09-05 10_34_49-Autodesk Inventor Professional 2019.png

Example code:

  for (int i = 1; i < oApp.Documents.VisibleDocuments.Count; i++)
            {
                MessageBox.Show(" Count : " + oApp.Documents.VisibleDocuments[i].DisplayName);
            }       
0 Likes
397 Views
2 Replies
Replies (2)
Message 2 of 3

HideoYamada
Advisor
Advisor

(There seems to be no way...)

 

=====

Freeradical

 Hideo Yamada

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp
0 Likes
Message 3 of 3

Anonymous
Not applicable

Well, i have hope. Thanks for your response. 😀

0 Likes