Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

InputChangedHandler for Tabulator returns APITabBar

4 REPLIES 4
Reply
Message 1 of 5
stupadmitry
284 Views, 4 Replies

InputChangedHandler for Tabulator returns APITabBar

How do I know which tab user is selecting?

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

4 REPLIES 4
Message 2 of 5
goyals
in reply to: stupadmitry

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



Shyam Goyal
Sr. Software Dev. Manager
Message 3 of 5
obatake5TC3R
in reply to: goyals

I am having trouble with the same phenomenon.

What happened to this matter after that?

Message 4 of 5
SendItCNC
in reply to: stupadmitry

@goyals 

 

Any update on this?

Message 5 of 5
nnikbin
in reply to: stupadmitry

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

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report