BrowserPane Activate method not working

BrowserPane Activate method not working

gavbath
Collaborator Collaborator
464 Views
2 Replies
Message 1 of 3

BrowserPane Activate method not working

gavbath
Collaborator
Collaborator

In Inventor 2019, it appears that the "Activate" method on the BrowserPane object no longer works.

I wonder if this was broken by the change to the new style browser tabs.

Can anyone confirm this is indeed an issue?

 

If I try to switch from one pane to another, I can see that the ActivePane property changes in the immediate window, but I don't see the change in the UI.

 

Example code:

ThisApplication.ActiveDocument.BrowserPanes.Item("Model").Activate

Gavin Bath
MFG / CAM Technical Specialist
Design and Motion Blog
Facebook | Twitter | LinkedIn | YouTube


   

0 Likes
465 Views
2 Replies
Replies (2)
Message 2 of 3

chandra.shekar.g
Autodesk Support
Autodesk Support

@gavbath,

 

Try below code to activate Model Browser pane.

ThisApplication.UserInterfaceManager.DockableWindows.Item("Model").Visible = True

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 3 of 3

JaneFan
Autodesk
Autodesk

HI @gavbath

This is a known issue, and we have get it fixed now but not being included in 2019. Is the work around @chandra.shekar.g provided OK for you?




Jane Fan
Inventor/Fusion QA Engineer
0 Likes