Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

InputChangedHandler for Tabulator returns APITabBar

Anonymous

InputChangedHandler for Tabulator returns APITabBar

Anonymous
Not applicable

How do I know which tab user is selecting?

cmdInput.id returns "APITabBar" and not "tab_1"

0 Likes
Reply
577 Views
4 Replies
Replies (4)

goyals
Autodesk
Autodesk

This is the defect on Fusion side and We will investigate it further. Thank you for posting it.



Shyam Goyal
Sr. Software Dev. Manager
0 Likes

obatake5TC3R
Advocate
Advocate

I am having trouble with the same phenomenon.

What happened to this matter after that?

0 Likes

SendItCNC
Advocate
Advocate

@goyals 

 

Any update on this?

0 Likes

nnikbin
Collaborator
Collaborator

You can loop through all of your add-in tabs and use TabCommandInput.isActive Property to find which tab is active. In this context "active" means "selected".

 

For example:

 

if commandId == "APITabBar":
    if mainTab.isActive:
        ...
    elif aboutTab.isActive:
        ...
    else
        ...

 

1 Like