InputChangedHandler for Tabulator returns APITabBar

InputChangedHandler for Tabulator returns APITabBar

Anonymous
Not applicable
781 Views
4 Replies
Message 1 of 5

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
782 Views
4 Replies
Replies (4)
Message 2 of 5

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
Message 3 of 5

obatake5TC3R
Advocate
Advocate

I am having trouble with the same phenomenon.

What happened to this matter after that?

0 Likes
Message 4 of 5

SendItCNC
Advocate
Advocate

@goyals 

 

Any update on this?

0 Likes
Message 5 of 5

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
        ...