Access Tabs\Project Tabs through API

Access Tabs\Project Tabs through API

adikshit
Participant Participant
541 Views
3 Replies
Message 1 of 4

Access Tabs\Project Tabs through API

adikshit
Participant
Participant

adikshit_0-1686756637280.png

Hello!,

Is there currently a way to access these tabs through the API - tabs seem to correspond to the ribbon tabs on the top of the ribbon UI- possibly I am looking for them by the wrong name

 

Thank you 🙂

0 Likes
Accepted solutions (1)
542 Views
3 Replies
Replies (3)
Message 2 of 4

jeremy_tammik
Alumni
Alumni

Aren't those just the names of the project views that you have opened? If so, you can access them by checking what document and views are opened, and influence them by opening and activating other projects and views.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 4

TripleM-Dev.net
Advisor
Advisor
Accepted solution

Hi @adikshit,

 

The UI Tabs themself to change the color etc, yes they can be accessed.

add a reference to "Xceed.Wpf.AvalonDock" (from the Revit install folder)

 

As a start see this link: Xceed AvalonDock - Revit MainWindow.FindFirstChild returns nul 

 

or do you mean the UIView class for retrieving open views? (also needed to 'link' the Tabs to open document views)

- Michel

0 Likes
Message 4 of 4

adikshit
Participant
Participant

that was it I was looking for the UItabs - not the names of the project - apologies for the poorly drawn arrow and thanks for pointing me to the right direction 

0 Likes